* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f5f3ef;
  color: #ffffff;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  /* Substitua 'fundo.jpg' pela imagem do painel de madeira */
  background: url('./img/fundo.png') no-repeat center center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 10%;
}

/* Sombra gradiente no lado esquerdo para legibilidade do texto */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(24, 18, 15, 0.95) 0%, rgba(24, 18, 15, 0.75) 45%, rgba(0, 0, 0, 0) 80%);
  z-index: 1;
}

.navbar, .hero-content {
  position: relative;
  z-index: 2;
}

/* =========================================
   Header e navbar
   ========================================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  line-height: 1;
}

.logo-text span {
  font-weight: 300;
}

.logo-text strong {
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: #e5e5e5;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* =========================================
   Botões pilula
   ========================================= */
.btn-pill {
  background-color: #F3F4F7;
  color: #1a1a1a;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-pill i {
  font-size: 1.1rem;
}

.btn-pill:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

.visita {
  background-color: #00000000 !important;
  border: 2px solid #ffffff;
  color: #ffffff;
  margin-left: 20px;
  font-weight: 400;
}

/* Conteúdo Principal */
.hero-content {
  margin-top: auto;
  margin-bottom: auto;
  max-width: 600px;
  padding: 4rem 0;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.8rem;
}

.hero-content p {
  font-size: 1.3rem;
  line-height: 1.5;
  color: #cccccc;
  margin-bottom: 2.5rem;
  font-weight: 300;
  margin-bottom: 5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.link-action {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.link-action:hover {
  opacity: 0.8;
}

/* =========================================
   Botão flutuante do whatsapp
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  color: #ffffff;
  border-radius: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  z-index: 100;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* =========================================
   SEÇÃO: NOSSAS SOLUÇÕES
   ========================================= */

.solutions {
  background-color: #f5f3ef; /* Cor de fundo creme bem claro (baseada na imagem) */
  color: #1a1a1a;
  padding: 5rem 5% 7rem 5%;
}

.solutions-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.solutions-header h2 {
  font-size: 2.2rem;
  font-weight: 400; /* 'Nossas' com peso normal */
  margin-bottom: 0.5rem;
}

.solutions-header h2 strong {
  font-weight: 700; /* 'soluções' em negrito */
}

.solutions-header p {
  font-size: 1.05rem;
  color: #4a4a4a;
}

/* Container dos Cards (Desktop - Grid de 4 colunas) */
.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Estilo Individual do Card */
.card {
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Sombra suave idêntica a imagem */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: 200px; /* Altura fixa para padronizar as imagens */
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 1.5rem;
  padding-bottom: 3rem;
}

.card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #000000;
}

.card-content h3 .arrow {
  font-weight: 400;
  font-size: 1.1rem;
}

.card-content p {
  font-size: 0.9rem;
  color: #737373; /* Texto descritivo mais claro */
  line-height: 1.5;
}

/* =========================================
   RESPONSIVO (MOBILE) - EFEITO SLIDER/SWIPE
   ========================================= */

@media (max-width: 992px) {
  .cards-container {
    /* Muda de Grid para Flex para permitir a rolagem horizontal */
    display: flex;
    overflow-x: auto; /* Habilita o scroll horizontal */
    scroll-snap-type: x mandatory; /* Suaviza a parada em cada card (comportamento de carrossel) */
    -webkit-overflow-scrolling: touch; /* Melhora a fluidez do touch no iOS */
    
    padding-bottom: 20px; /* Espaço inferior para a sombra não ser cortada e para o scrollbar */
    gap: 16px;
    
    /* Removemos a barra de rolagem visual para ficar mais limpo (opcional) */
    scrollbar-width: none; /* Firefox */
  }

  .cards-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .card {
    min-width: 280px; /* Largura fixa do card no mobile */
    width: 280px;
    flex: 0 0 auto; /* Impede que o card encolha */
    scroll-snap-align: start; /* Alinha perfeitamente ao deslizar */
  }
}

/* =========================================
   SEÇÃO: CALL TO ACTION (DÚVIDAS)
   ========================================= */

.cta-duvidas {
  background-color: #262321; /* Tom escuro levemente quente (inspirado na imagem) */
  padding: 3rem 5%;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-container h2 {
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 400; /* Fonte mais fina, conforme a imagem */
  margin: 0;
}

/* =========================================
   RESPONSIVO (MOBILE) - CTA DÚVIDAS
   ========================================= */

@media (max-width: 768px) {
  .cta-duvidas {
    padding: 2.5rem 5%;
  }

  .cta-container {
    flex-direction: column; /* Empilha o texto e o botão no celular */
    text-align: center;
    gap: 1.5rem; /* Espaço entre o texto e o botão */
  }

  .cta-container h2 {
    font-size: 1.3rem; /* Reduz um pouco o tamanho da fonte no celular */
    line-height: 1.4;
  }
}

/* =========================================
   Projetos
   ========================================= */

/* Reset básico e fonte */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f8f6; /* Fundo off-white da imagem */
}

/* Seção principal */
.projetos-inspiram {
  padding: 100px 0 150px 0;
  text-align: center;
  overflow: hidden; /* Evita a barra de rolagem horizontal no site */
}

.cabecalho-projetos {
  margin-bottom: 40px;
}

.cabecalho-projetos h2 {
  font-size: 32px;
  font-weight: 400; /* Texto normal para "que inspiram" */
  color: #111;
  margin-bottom: 8px;
}

.cabecalho-projetos h2 strong {
  font-weight: 700; /* Negrito para "Projetos" */
}

.cabecalho-projetos p {
  font-size: 16px;
  color: #555;
}

/* Configuração do Carrossel Animado */
.carrossel-container {
  padding-top: 20px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carrossel-track {
  display: flex;
  width: max-content; /* Permite que a trilha cresça além da tela */
  animation: rolar-esquerda 60s linear infinite; /* quanto maior, mais lento */
}

.carrossel-grupo {
  display: flex;
  gap: 20px; /* Espaço entre as imagens */
  padding-right: 20px; /* Padding no final igual ao gap para a emenda ser perfeita */
}

.carrossel-grupo img {
  width: 390px;
  height: 300px;
  object-fit: cover; /* Garante que a imagem não fique distorcida */
  border-radius: 0; /* Cantos arredondados iguais aos da referência */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Leve sombra para destacar do fundo */
}

/* Animação Keyframes */
@keyframes rolar-esquerda {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Como há dois grupos idênticos, mover -50% faz o segundo grupo assumir a posição exata do primeiro */
    transform: translateX(-50%);
  }
}

/* =========================================
   SEÇÃO: PORQUE ESCOLHER A RESILE
   ========================================= */

.porque-escolher {
  position: relative;
  width: 100%;
  padding: 6rem 10%;
  /* Substitua 'bg-luvas.jpg' pela imagem real do profissional instalando */
  background: url('./img/bg-luvas.png') no-repeat center right / cover;
  color: #ffffff;
  display: flex;
  align-items: center;
}

/* Máscara de gradiente escuro na esquerda para dar leitura ao texto */
.porque-escolher::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Utilizando um tom escuro neutro com leve toque quente */
  background: linear-gradient(90deg, #262321 0%, rgba(38, 35, 33, 0.85) 45%, rgba(38, 35, 33, 0) 90%);
  z-index: 1;
}

.porque-content {
  position: relative;
  z-index: 2; /* Garante que o texto fique acima da máscara escura */
  max-width: 900px;
}

.porque-content h2 {
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.porque-content .subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

/* Container dos Botões de Benefícios */
.beneficios {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap; /* Permite quebrar linha se não couber */
}

/* Estilo individual de cada Benefício */
.beneficio-item {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(0, 0, 0, 0.15); /* Fundo transparente leve */
  backdrop-filter: blur(3px); /* Desfoque sutil no fundo para contraste */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.beneficio-item i {
  font-size: 1.6rem;
}

.beneficio-item span {
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 500;
}

/* =========================================
   RESPONSIVO (MOBILE)
   ========================================= */

@media (max-width: 992px) {
  .porque-escolher::before {
    /* No celular/tablet, o gradiente deve cobrir mais espaço para garantir leitura sobreposta à imagem */
    background: linear-gradient(90deg, #262321 30%, rgba(38, 35, 33, 0.9) 70%, rgba(38, 35, 33, 0.4) 100%);
  }
}

@media (max-width: 768px) {
  .porque-escolher {
    padding: 4rem 5%;
  }

  .beneficios {
    flex-direction: column; /* Empilha os cards no celular */
    gap: 1rem;
  }

  .beneficio-item {
    width: 100%;
    justify-content: flex-start;
  }
}

/* =========================================
   SEÇÃO: DEPOIMENTOS
   ========================================= */

.depoimentos {
  background-color: #f5f3ef; /* Mesmo tom de fundo da seção Projetos */
  padding: 6rem 0 7rem 0;
  text-align: center;
  overflow: hidden;
}

.cabecalho-depoimentos {
  margin-bottom: 3.5rem;
}

.cabecalho-depoimentos h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.cabecalho-depoimentos p {
  font-size: 1.05rem;
  color: #4a4a4a;
}

/* Configuração do Carrossel Reverso */
.carrossel-depoimentos-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carrossel-depoimentos-track {
  display: flex;
  width: max-content;
  /* Chama a animação 'rolar-direita' */
  /* ~17,5s por card (9 depoimentos), para manter a mesma velocidade de leitura */
  animation: rolar-direita 158s linear infinite;
}

.carrossel-depoimentos-grupo {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

/* Estilo Individual dos Cards de Depoimento */
.depoimento-card {
  display: flex;
  width: 800px; /* Largura definida para comportar bem imagem + texto */
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.depoimento-img {
  width: 40%;
  object-fit: cover;
  display: block;
}

.depoimento-content {
  width: 60%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.estrelas {
  color: #f6c039; /* Cor amarela/dourada das estrelas */
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 4px;
}

.texto-depoimento {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.autor-depoimento {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a1a;
}

/* =========================================
   ANIMAÇÃO: ROLAR PARA A DIREITA
   ========================================= */

/* 
  Para o conteúdo ir para a direita sem cortes, iniciamos a trilha puxada 
  para a esquerda (-50%) revelando o Grupo 2, e andamos até o eixo original (0%) 
  revelando o Grupo 1. Ao atingir o fim, ela reseta sem salto. 
*/
@keyframes rolar-direita {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* =========================================
   RESPONSIVO (MOBILE)
   ========================================= */

@media (max-width: 768px) {
  .depoimento-card {
    width: 320px;
    flex-direction: column; /* Muda o card para imagem em cima, texto embaixo */
  }

  .depoimento-img {
    width: 100%;
    height: 200px; /* Reduz altura da imagem no celular */
  }

  .depoimento-content {
    width: 100%;
    padding: 1.5rem;
  }
  
  .texto-depoimento {
    font-size: 0.95rem; /* Ajusta fonte no celular */
  }
}

/* =========================================
   SEÇÃO: SOBRE / CONFIANÇA
   ========================================= */

.sobre-nos {
  position: relative;
  width: 100%;
  min-height: 600px;
  padding: 6rem 10%;
  /* Substitua 'bg-igor.jpg' pela imagem do fundador */
  background: url('./img/bg-igor.png') no-repeat right center / cover;
  display: flex;
  align-items: center;
  color: #ffffff;
}

/* Gradiente escuro no lado esquerdo para garantir leitura do texto */
.sobre-nos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Tom de fundo idêntico à imagem de referência */
  background: linear-gradient(90deg, #211e1c 0%, rgba(33, 30, 28, 0.95) 40%, rgba(33, 30, 28, 0) 75%);
  z-index: 1;
}

.sobre-content {
  position: relative;
  z-index: 2; /* Garante que o texto fique por cima da máscara */
  max-width: 500px;
}

.sobre-content h2 {
  font-size: 2.8rem;
  font-weight: 400; /* Texto mais fino seguindo o layout */
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.sobre-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e5e5;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* =========================================
   RESPONSIVO (MOBILE)
   ========================================= */

@media (max-width: 992px) {
  .sobre-nos::before {
    /* No celular, esticamos o gradiente mais para a direita para cobrir a imagem onde o texto cair */
    background: linear-gradient(90deg, #211e1c 45%, rgba(33, 30, 28, 0.9) 80%, rgba(33, 30, 28, 0.4) 100%);
  }
  
  .sobre-content h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .sobre-nos {
    padding: 4rem 5%;
    /* No mobile, pode ser necessário ajustar o foco da imagem para o rosto não ser cortado */
    background-position: 70% center; 
  }
}

/* =========================================
   RODAPÉ (FOOTER)
   ========================================= */

.footer {
  background-color: #e8e5de; /* Fundo off-white, combinando com a imagem */
  padding: 5rem 5% 2rem;
  color: #737373; /* Cor cinza média para os textos */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Topo do Footer (Grid de Colunas) --- */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; /* A primeira coluna é mais larga para o texto longo */
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Coluna 1: Logo e Texto */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  color: #1a1a1a; /* Logo preta no footer */
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  font-size: 1.4rem;
  line-height: 1;
}

.footer-logo-text span {
  font-weight: 300;
}

.footer-logo-text strong {
  font-weight: 700;
}

.brand-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

/* Colunas de Links */
.footer-col h4 {
  color: #8c8c8c;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase; /* Deixa o título em maiúsculas "SOLUÇÕES" */
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  color: #737373;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #1a1a1a; /* Escurece no hover */
}

/* --- Base do Footer (Direitos e Desenvolvedor) --- */
.footer-bottom {
  border-top: 1px solid #cccbcb; /* Linha de divisão sutil */
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #a3a3a3;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #a3a3a3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #555;
}

.overup-link {
  text-decoration: underline !important; /* Mantém o sublinhado pedido na imagem */
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

/* =========================================
   RESPONSIVO (MOBILE E TABLET)
   ========================================= */

@media (max-width: 992px) {
  .footer-top {
    /* No tablet, muda para 2 colunas */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-top {
    /* No celular, empilha tudo em 1 coluna */
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column; /* Empilha os textos de copyright */
    text-align: center;
    gap: 1rem;
  }
}

/* =========================================
   MENU FIXO (STICKY NAVBAR)
   ========================================= */

.navbar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  /* Fundo escuro levemente transparente */
  background-color: rgba(24, 18, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  
  /* Oculta o menu jogando-o para fora da tela */
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Classe ativada via JavaScript para exibir o menu */
.navbar-sticky.is-visible {
  transform: translateY(0);
}

/* Ajustes finos para o menu fixo não ficar tão alto quanto o original */
.navbar-sticky .logo-img {
  width: 140px; /* Logo um pouco menor no menu fixo */
}

html {
  /* 1. Cria o efeito de deslizamento suave ao clicar nos links */
  scroll-behavior: smooth; 
  
  /* 2. Cria uma "margem invisível" no topo para o menu não cobrir o título.
     Se achar que o título ficou muito colado ou muito longe do menu, 
     basta aumentar ou diminuir este valor (ex: 80px, 120px) */
  scroll-padding-top: 100px;
}

/* =========================================
   AJUSTES GERAIS (HOME)
   ========================================= */

.card-content h3 .arrow {
  transition: transform 0.25s ease;
}

.card:hover .card-content h3 .arrow {
  transform: translateX(4px);
}

/* Botão de menu (celular) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .navbar > .btn-pill {
    display: none;
  }

  .navbar .nav-links {
    display: none;
  }

  .navbar.menu-aberto {
    z-index: 10001;
  }

  .navbar.menu-aberto .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(24, 18, 15, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.6rem 6% 1.2rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  }

  .navbar-sticky.menu-aberto .nav-links {
    top: 100%;
  }

  .navbar.menu-aberto .nav-links a {
    display: block;
    padding: 0.95rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar.menu-aberto .nav-links li:last-child a {
    border-bottom: 0;
  }

  /* Cabeçalho ~70% mais baixo no celular, para mostrar mais da foto de fundo */
  .hero {
    min-height: 63vh;
    padding: 1.25rem 6%;
  }

  .hero-content {
    padding: 1.75rem 0 1.5rem;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 7.6vw, 2.3rem);
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.6rem;
  }

  .hero-actions {
    gap: 0.6rem;
  }

  .hero-actions .btn-pill {
    padding: 0.65rem 1.3rem;
  }

  .hero-content p br {
    display: none;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .visita {
    margin-left: 0;
  }

  .carrossel-grupo img {
    width: 280px;
    height: 220px;
  }
}

/* =========================================
   PÁGINAS DE SOLUÇÃO (CATÁLOGO)
   ========================================= */

.page-solucao {
  --sol-dark: #262321;
  --sol-dark-2: #1c1a18;
  --sol-cream: #f5f3ef;
  --sol-sand: #e8e2d8;
  --sol-accent: #b39f84;
  --sol-text: #1a1a1a;
  --sol-muted: #6f6a64;
  --nav-h: 84px;
  background-color: var(--sol-cream);
  color: var(--sol-text);
}

html:has(.page-solucao) {
  scroll-padding-top: calc(var(--nav-h, 84px) + 70px);
}

/* Menu sempre visível (páginas de texto: privacidade e termos) */
.navbar-sticky.nav-fixa {
  position: sticky;
  transform: none;
}

/* ---------- Cabeçalho igual ao da home, com foto da solução ---------- */
.page-solucao .hero {
  color: #ffffff;
}

.hero.hero-papel {
  background-image: url('img/catalogo/papel-de-parede/hero-bg.webp');
}

.hero.hero-envelopamento {
  background-image: url('img/catalogo/envelopamento/hero-bg.webp');
}

.hero.hero-peliculas {
  background-image: url('img/catalogo/peliculas/hero-bg.webp');
}

.hero.hero-rede {
  background-image: url('img/catalogo/rede-de-protecao/hero-bg.webp');
}

/* ---------- Cabeçalho compacto (privacidade e termos) ---------- */
.sol-hero {
  background: var(--sol-dark);
  color: #ffffff;
  padding: 4rem 6% 4.5rem;
}

.sol-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #a39b91;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #a39b91;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.sol-hero h1 {
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.1;
}

/* ---------- Abas dos subtipos (fixas no topo) ---------- */
.sol-tabs {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: rgba(245, 243, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2ddd4;
}

.sol-tabs ul {
  list-style: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 6%;
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.sol-tabs ul::-webkit-scrollbar {
  display: none;
}

.sol-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  color: var(--sol-text);
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid #d6cfc4;
  border-radius: 50px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sol-tabs a small {
  font-size: 0.75rem;
  color: var(--sol-muted);
}

.sol-tabs a:hover {
  border-color: var(--sol-dark);
}

.sol-tabs a.is-active {
  background: var(--sol-dark);
  border-color: var(--sol-dark);
  color: #ffffff;
}

.sol-tabs a.is-active small {
  color: #bdb4a8;
}

/* ---------- Pilares (cada subtipo) ---------- */
.pilar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 6% 1rem;
}

.pilar + .pilar {
  border-top: 1px solid #e2ddd4;
  margin-top: 3rem;
}

.pilar-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.6rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

.pilar-num {
  font-size: 3.4rem;
  font-weight: 200;
  line-height: 0.9;
  color: var(--sol-accent);
}

.pilar-head h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.pilar-head p {
  color: var(--sol-muted);
  line-height: 1.55;
  max-width: 640px;
}

.pilar-count {
  font-size: 0.85rem;
  color: var(--sol-muted);
  white-space: nowrap;
}

/* Faixa de ambientes inspiradores */
.pilar-ambientes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 2rem;
}

.pilar-ambientes.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.pilar-ambientes figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.pilar-ambientes img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.pilar-ambientes figure:hover img {
  transform: scale(1.05);
}

.pilar-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sol-muted);
  margin: 0 0 1rem;
}

/* ---------- Grade de produtos ---------- */
.grid-produtos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.grid-produtos.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid-produtos.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.produto {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.produto:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.produto.is-hidden {
  display: none;
}

.produto-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #ece8e1;
}

.grid-produtos.ratio-43 .produto-media {
  aspect-ratio: 4 / 3;
}

.produto-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.8s ease;
}

.produto-media img.alt {
  opacity: 0;
}

.produto:hover .produto-media img.alt {
  opacity: 1;
}

.produto:hover .produto-media img {
  transform: scale(1.04);
}

.produto-info {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.produto-info h3 {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}

.produto-info p {
  font-size: 0.86rem;
  color: var(--sol-muted);
  line-height: 1.45;
}

.produto-ref {
  font-size: 0.78rem;
  color: #9a9389;
  letter-spacing: 0.04em;
}

/* Ações do card: "Pedir orçamento" e, abaixo, "Testar com IA" */
.produto-acoes {
  margin-top: auto;
  padding-top: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.produto-cta,
.btn-ia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 50px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.produto-cta {
  background: var(--sol-dark);
  color: #ffffff;
  border: 1px solid var(--sol-dark);
}

.produto-cta:hover {
  background: #000000;
}

.produto-cta i {
  color: #4fd27a;
}

.btn-ia {
  background: transparent;
  color: var(--sol-dark);
  border: 1px solid #cfc6b8;
}

.btn-ia:hover {
  border-color: var(--sol-dark);
  background: #f3efe8;
}

.btn-ia i {
  color: #a0815a;
}

.ver-mais {
  display: flex;
  margin: 2.2rem auto 0;
  background: transparent;
  border: 1px solid var(--sol-dark);
  color: var(--sol-dark);
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ver-mais:hover {
  background: var(--sol-dark);
  color: #ffffff;
}

/* ---------- Tonalidades de insulfilm (simulação) ---------- */
.tons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 2.6rem;
}

.tom {
  margin: 0;
  background: #ffffff;
}

.tom-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.tom-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #14181b;
  opacity: var(--tom, 0.5);
}

.tom figcaption {
  padding: 0.8rem 1rem 1rem;
  font-size: 0.85rem;
  color: var(--sol-muted);
}

.tom figcaption strong {
  display: block;
  color: var(--sol-text);
  font-size: 1rem;
}

/* ---------- Amostras desenhadas em CSS (cores de rede / espelhados) ---------- */
.amostras {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 2.6rem;
}

.amostra {
  background: #ffffff;
  margin: 0;
}

.amostra-cor {
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.amostra figcaption {
  padding: 0.8rem 1rem 1rem;
  font-size: 0.85rem;
  color: var(--sol-muted);
}

.amostra figcaption strong {
  display: block;
  color: var(--sol-text);
  font-size: 1rem;
}

.espelho-cor {
  background: linear-gradient(115deg, var(--c1) 0%, var(--c2) 38%, var(--c1) 52%, var(--c3) 78%, var(--c2) 100%);
}

/* ---------- Especificações ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 2rem;
}

.spec {
  background: var(--sol-sand);
  padding: 1.3rem 1.3rem 1.4rem;
}

.spec i {
  font-size: 1.3rem;
  color: var(--sol-dark);
  margin-bottom: 0.8rem;
  display: block;
}

.spec strong {
  display: block;
  margin-bottom: 0.3rem;
}

.spec span {
  font-size: 0.86rem;
  color: var(--sol-muted);
  line-height: 1.45;
}

/* ---------- CTA final ---------- */
/* Mesmo fundo da seção "Porque escolher a Resile?" da home */
.sol-cta {
  position: relative;
  margin-top: 6rem;
  background: url('img/bg-luvas.png') no-repeat center right / cover;
  color: #ffffff;
  padding: 6rem 6%;
}

.sol-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #262321 0%, rgba(38, 35, 33, 0.85) 45%, rgba(38, 35, 33, 0) 90%);
}

/* Texto e botões à esquerda, deixando a foto livre à direita (igual à home) */
.sol-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.sol-cta h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.sol-cta p {
  color: #cfc8bf;
  font-weight: 300;
  max-width: 560px;
  line-height: 1.6;
}

.sol-cta .hero-actions {
  flex-shrink: 0;
}

.sol-cta .visita {
  margin-left: 0;
}

/* ---------- Visualizador de imagem (lightbox) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 13, 12, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-box {
  background: #ffffff;
  color: var(--sol-text);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  max-width: 1040px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
}

.lightbox-box img {
  width: 100%;
  height: 100%;
  max-height: 90vh;
  object-fit: cover;
  display: block;
  background: #ece8e1;
}

.lightbox-info {
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.lightbox-info small {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sol-accent);
}

.lightbox-info h3 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.lightbox-info p {
  color: var(--sol-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.lightbox-acoes {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 300px;
}

.lightbox-acoes .produto-cta,
.lightbox-acoes .btn-ia {
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Páginas de texto (privacidade / termos) ---------- */
.texto-legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 6% 6rem;
  line-height: 1.75;
  color: #3a3632;
}

.texto-legal h2 {
  font-size: 1.3rem;
  margin: 2.4rem 0 0.6rem;
  color: var(--sol-text);
}

.texto-legal ul {
  padding-left: 1.3rem;
}

.texto-legal .atualizado {
  color: var(--sol-muted);
  font-size: 0.9rem;
}

.sol-hero.compacto {
  padding: 3.5rem 6%;
}


/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .grid-produtos,
  .grid-produtos.cols-5,
  .pilar-ambientes {
    grid-template-columns: repeat(3, 1fr);
  }

  .tons {
    grid-template-columns: repeat(3, 1fr);
  }

  .specs,
  .amostras {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .sol-hero {
    padding: 2.5rem 6% 3rem;
  }

  .sol-hero h1 {
    font-size: 2.3rem;
  }

  .pilar {
    padding-top: 3.5rem;
  }

  .pilar-head {
    grid-template-columns: auto 1fr;
  }

  .pilar-count {
    display: none;
  }

  .sol-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-box {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .lightbox-box img {
    max-height: 50vh;
  }
}

@media (max-width: 600px) {
  .grid-produtos,
  .grid-produtos.cols-5,
  .grid-produtos.cols-3,
  .pilar-ambientes,
  .pilar-ambientes.cols-3,
  .tons {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .specs,
  .amostras {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .pilar-num {
    font-size: 2.4rem;
  }

  .pilar-head h2 {
    font-size: 1.5rem;
  }

  .produto-info {
    padding: 0.8rem 0.8rem 1rem;
  }

  .produto-info h3 {
    font-size: 0.88rem;
  }

  .produto-info p {
    display: none;
  }

  .produto-acoes .produto-cta,
  .produto-acoes .btn-ia {
    font-size: 0.74rem;
    padding: 0.55rem 0.4rem;
    gap: 0.3rem;
    white-space: nowrap;
  }
}

/* =========================================
   TESTAR COM IA (janela de simulação)
   ========================================= */

.ia-modal {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(15, 13, 12, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #1a1a1a;
}

.ia-modal.is-open {
  display: flex;
}

.ia-modal [hidden] {
  display: none !important;
}

.ia-box {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.8rem 1.8rem 1.6rem;
}

.ia-fechar {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: 0;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  color: #6f6a64;
}

.ia-cabeca {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding-right: 2rem;
}

.ia-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
  background: #ece8e1;
}

.ia-cabeca small {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a0815a;
}

.ia-cabeca h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 0.2rem;
}

.ia-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.4rem 0 0.7rem;
}

.ia-origem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.ia-opcao {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 1rem;
  background: #f5f3ef;
  border: 1px dashed #c9bfae;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ia-opcao i {
  font-size: 1.6rem;
  color: #262321;
}

.ia-opcao:hover {
  border-color: #262321;
  background: #efebe4;
}

.ia-camera,
.ia-preview {
  margin-bottom: 1.2rem;
}

.ia-camera video,
.ia-preview img,
.ia-resultado {
  display: block;
  width: 100%;
  max-height: 52vh;
  object-fit: contain;
  background: #111;
}

.ia-camera-acoes {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
}

.ia-link {
  background: none;
  border: 0;
  padding: 0.4rem 0;
  font: inherit;
  font-size: 0.88rem;
  color: #6f6a64;
  text-decoration: underline;
  cursor: pointer;
}

.ia-preview .ia-link {
  margin-top: 0.4rem;
}

.ia-texto {
  width: 100%;
  border: 1px solid #d6cfc4;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  resize: vertical;
  margin-bottom: 1rem;
}

.ia-texto:focus {
  outline: 2px solid #262321;
  outline-offset: -1px;
}

.btn-pill.ia-escuro {
  background: #262321;
  color: #ffffff;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.btn-pill.ia-escuro:hover {
  background: #000000;
}

.ia-gerar {
  width: 100%;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
}

.ia-gerar:disabled,
.ia-gerar:disabled:hover {
  background: #b9b3ab;
  cursor: not-allowed;
}

.ia-restantes {
  margin-top: 0.6rem;
  text-align: center;
}

.ia-erro {
  background: #fbeaea;
  color: #8a2a2a;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.ia-aviso {
  font-size: 0.78rem;
  color: #8a837a;
  line-height: 1.5;
  margin-top: 0.9rem;
  text-align: center;
}

.ia-etapa[data-etapa="carregando"] {
  text-align: center;
  padding: 2.5rem 0 1.5rem;
}

.ia-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.4rem;
  border: 3px solid #e8e2d8;
  border-top-color: #262321;
  border-radius: 50%;
  animation: ia-girar 0.9s linear infinite;
}

@keyframes ia-girar {
  to {
    transform: rotate(360deg);
  }
}

.ia-msg {
  font-size: 1.05rem;
  font-weight: 500;
}

.ia-alternar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.ia-alternar button {
  flex: 1;
  padding: 0.55rem;
  border: 1px solid #d6cfc4;
  background: #ffffff;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.ia-alternar button.is-ativo {
  background: #262321;
  border-color: #262321;
  color: #ffffff;
}

.ia-acoes {
  display: flex;
  gap: 0.7rem;
  margin: 1.1rem 0 0.4rem;
  flex-wrap: wrap;
}

.ia-acoes .btn-pill {
  flex: 1;
  justify-content: center;
}

.ia-acoes .visita {
  margin-left: 0;
  color: #262321;
  border-color: #262321;
}

@media (max-width: 600px) {
  .ia-modal {
    padding: 0;
    align-items: stretch;
  }

  .ia-box {
    max-height: none;
    padding: 1.4rem 1.2rem;
  }

  .ia-acoes {
    flex-direction: column;
  }
}
