* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
}

/* CAROUSEL */
.carousel {
  height: 110vh;
  position: relative;
  margin-top:102px;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.overlay-slide {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  max-width: 900px;
  width: auto;
  padding: 45px 55px; /* ⬅ espaçamento interno REAL */
  text-align: center;

  z-index: 2;
}

/* FUNDO ESCURO SEMI-TRANSPARENTE */
.overlay-slide::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.1); /* escuro limpo */
  z-index: -1;

  /* detalhe elegante opcional */
  
}


.tag {
  font-size: 13px;
  letter-spacing: 3px;
  opacity: 0.9;
}

.title {
  font-size: 55px;
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1.1;
}

.subtitle {
  font-size: 25px;
  line-height: 1.5;
  letter-spacing: 1.5px;
}

.area {
  font-size: 40px;
  margin-top: 10px;
}

.area span {
  font-size: 22px;
  font-weight: 400;
  margin: 0 8px;
}

.nav-arrows {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10;
}

.nav-arrows button {
  width: 64px;
  height: 64px;
  background: transparent;
  border: 4px solid #f09606;
  color: #f09606;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-arrows button:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.cards-banner {
  position: relative;
  top: -60px;
  z-index: 1050;
  display: flex;
  justify-content: center;
  padding: 0 15px;
}
.container-cards {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 25px 10px;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
}    
.card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  transition: transform 0.3s ease;
  text-align: center;
}
.card-item:hover {
  transform: translateY(-5px);
}
.card-item .icon {
  font-size: 32px;
  color:  #E69600;
  margin-bottom: 10px;
}
.card-item p {
  font-size: 14px;
  font-weight: bold;
  color: #161616;
  margin: 0;
}

/* ==========================
   RESPONSIVIDADE
========================== */

/* Tablets (até 992px) */
@media (max-width: 992px) {
  .container-cards {
    padding: 20px 15px;
    gap: 15px;
  }

  .card-item {
    width: 45%; /* 2 cards por linha */
  }

  .card-item .icon {
    font-size: 28px;
  }

  .card-item p {
    font-size: 13px;
  }
}

/* Telemóveis (até 576px) */
@media (max-width: 576px) {
  .cards-banner {
    top: -30px;
  }

  .container-cards {
    border-radius: 14px;
    padding: 15px 10px;
  }

  .card-item {
    width: 100%; /* 1 card por linha */
  }

  .card-item .icon {
    font-size: 26px;
  }

  .card-item p {
    font-size: 13px;
  }
}

.imoveis-section {
  padding: 80px 80px 60px;
  background: #fff;
}

/* TOPO */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.top h2 {
  font-size: 38px;
  font-weight: 500;
  color:#0c0c0c;
}

.top h2 span {
  color: #C57A00;
}

.top p {
  color: #0c0c0c;
  margin: 12px 0;
}

.arrows button {
  width: 46px;
  height: 46px;
  border: 1px solid #E69600;
  background: transparent;
  color: #E69600;
  font-size: 18px;
  cursor: pointer;
}

/* SLIDER */
.slider {
  overflow: hidden;
  position: relative;
}

.track {
  display: flex;
  gap: 30px;
  transition: transform .5s ease;
}
.card {
  width: 500px;
  height: 400px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BADGE "EM OBRAS" — CENTRAL NO TOPO */
.badge {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 22px;
  border-radius: 20px;
  background: #fff;
  color: #0e022e;
  font-size: 14px;
  font-weight: 600;
  border: 4px solid #E69600;
  z-index: 3;
}

/* OVERLAY */
.overlay-servico {
  position: absolute;
  inset: 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent 60%);
  color: #fff;
}

/* CANTO INFERIOR ESQUERDO */
.bottom-left {
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.bottom-left h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.bottom-left ul {
  list-style: none;
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.bottom-left li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* CANTO INFERIOR DIREITO */
.bottom-right {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

/* BOTÃO */
.btn-card {
  background: #E69600;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.3s;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .card {
    min-width: 300px;
    height: 260px;
  }

  .bottom-left ul {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ===== SEÇÃO ===== */
.estrutura {
  padding: 80px 20px;
  background: #f7f7f7;
  font-family: 'Poppins', sans-serif;
  margin-top: 50px;
}

.estrutura-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ===== IMAGEM ===== */
.estrutura-imagem {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}

.estrutura-imagem img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid #0c0c0c;
  z-index: 2;
}

/* círculo decorativo */
.circulo-decorativo {
  position: absolute;
  left: -30px;
  bottom: 40px;
  width: 120px;
  height: 120px;
  background: #C57A00;
  border-radius: 50%;
  z-index: 1;
}

/* ===== CONTEÚDO ===== */
.estrutura-conteudo {
  flex: 2;
  background: #0c0c0c;
  padding: 50px 60px;
  position: relative;
  color: #ffffff;
}

.estrutura-conteudo h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
}

.estrutura-conteudo .linha {
  display: block;
  width: 60px;
  height: 6px;
  background: #C57A00;
  margin-bottom: 25px;
}

.estrutura-conteudo p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
  text-align: justify;
}

/* detalhe quadrado */
.estrutura-conteudo::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 30px;
  width: 20px;
  height: 20px;
  background: #C57A00;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
  .estrutura-container {
    flex-direction: column;
    text-align: center;
  }

  .estrutura-imagem img {
    width: 280px;
    height: 280px;
  }

  .estrutura-conteudo {
    padding: 40px 30px;
  }

  .estrutura-conteudo p {
    max-width: 100%;
  }

  .estrutura-conteudo .linha {
    margin: 0 auto 25px;
  }
}

@media (max-width: 480px) {
  .estrutura-imagem img {
    width: 220px;
    height: 220px;
  }

  .estrutura-conteudo h2 {
    font-size: 26px;
  }

  .estrutura-conteudo p {
    font-size: 15px;
  }
}

.numeros{
  position:relative;
  background:url('../imag/factory-workshop-interior-machines-glass-production-background.webp') center/cover no-repeat;
  min-height:140vh;
  display:flex;
  align-items:center;
}

.numeros::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.container-numeros{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1400px;
  margin:auto;
  padding:80px 5%;
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:0;
  align-items:stretch;
}

/* TEXTO ESQUERDA */
.texto{
  background:#0c0c0c;
  color:#fff;
  padding:50px 20px;
  display:flex;
  align-items:center;
  font-size:52px;
  font-weight:300;
  line-height:1.15;
}

.texto span{color:#E69600;
  font-weight:800}

/* COLUNAS */
.coluna{
  display:flex;
  flex-direction:column;
}

.card-numero{
  flex:1;
  padding:65px 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.branco{background:#fff;color:#000}

/* AJUSTE ESPECÍFICO DO CARD 48 ANOS */
.card-numero.anos{
  transform: translateY(-120px);
  
  }

.preto{background:#0c0c0c;color:#fff}
.vermelho{background:#fff;color:#0c0c0c;
 }

.card-numero.ver {
  transform: translateY(-0px);
 
}
.card-numero.vermelho{
  min-height: 320px; /* ajuste fino aqui */
}
.numero{
  font-size:78px;
  font-weight:800;
  line-height:1;
}

.descricao{
  margin-top:14px;
  font-size:18px;
  font-weight:400;
}

@media screen and (max-width:1024px){
  .container-numeros{
    grid-template-columns: 1fr 1fr; /* duas colunas */
    padding:60px 5%;
  }
  .texto{
    font-size:40px;
    padding:40px 15px;
  }
  .card-numero{
    padding:50px 30px;
  }
  /* AJUSTE ESPECÍFICO DO CARD 48 ANOS */
.card-numero.anos{
  transform: translateY(0px);
  }
  .numero{
    font-size:60px;
  }
  .descricao{
    font-size:16px;
  }
}

/* Celulares grandes (até 768px) */
@media screen and (max-width:768px){
  .container-numeros{
    grid-template-columns: 1fr; /* uma coluna */
    padding:40px 5%;
  }
  .texto{
    font-size:32px;
    padding:30px 15px;
    text-align:center;
  }

  .card-numero.anos{
    transform: translateY(0px);
    }  

  .card-numero{
    padding:40px 20px;
    transform: translateY(0px); /* remove deslocamentos exagerados */
  }
  .numero{
    font-size:48px;
  }
  .descricao{
    font-size:15px;
  }
}

/* Celulares pequenos (até 480px) */
@media screen and (max-width:480px){
  .texto{
    font-size:26px;
    padding:20px 10px;
  }
  .card-numero{
    padding:30px 15px;
  }
  .numero{
    font-size:38px;
  }
  .descricao{
    font-size:14px;
  }
}

.referencias {
  padding: 80px 100px;
  background: #f7f7f7;
  text-align: center;
}

.referencias h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #C57A00;
}

.referencias p {
  max-width: 750px;
  margin: 0 auto 50px;
  color: #555;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Card */
.card-projecto {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  height: 340px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  cursor: pointer;
  background: #000;
}

.card-projecto img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.05);
}

.card-projecto img.active {
  opacity: 1;
  transform: scale(1);
}

/* Legenda */
.legenda {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: #fff;
  font-weight: 600;
  text-align: left;
}

/* Hover efeito */
.card-projecto:hover img.active {
  transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 1100px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-container {
    grid-template-columns: 1fr;
  }

  .card-projecto {
    height: 240px;
  }
}


.clientes-relevantes {
  text-align: center;
  padding: 50px 20px;
  background: #fff;
}

.clientes-relevantes h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 5px;
  color:#182E3D;
}

.clientes-relevantes p {
  font-size: 0.95rem;
  color: #182E3D;
  margin-bottom: 10px;
}

.clientes-relevantes .linha {
  width: 40px;
  height: 3px;
  background: #fbbd08;
  margin: 0 auto 30px;
}
.logos-clientes {
  overflow: hidden;
  width: 100%;
  background: #fff; /* opcional */
}

.logos-track {
  display: flex;
  width: calc(150px * 12); /* largura = número de logos × tamanho */
  animation: scroll 20s linear infinite;
}

.logos-clientes img {
  max-width: 150px;
  height: auto;
  margin: 0 20px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logos-clientes img:hover {
  transform: scale(1.1);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .logos-clientes img {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .logos-clientes img {
    max-width: 100px;
    margin: 0 10px;
  }
}


/* RESPONSIVO */
@media(max-width:1100px){
  .container{grid-template-columns:1fr;gap:30px}
  .texto{font-size:40px}
}

@media(max-width:600px){
  .texto{font-size:32px;padding:40px}
  .numero{font-size:56px}
}


/* RESPONSIVO */
@media (max-width: 900px) {
  .imoveis-section {
    padding: 40px 20px;
  }

  .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .card {
    min-width: 300px;
  }

  .info ul {
    flex-wrap: wrap;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .overlay {
    max-width: 90%;
    padding: 25px;
  }

  .title {
    font-size: 50px;
  }

  .subtitle {
    font-size: 15px;
  }

  .area {
    font-size: 28px;
  }
}

/* TABLETS: até 1024px */
@media (max-width: 1024px) {
  .carousel {
    height: 80vh;
    margin-top: 85px;
  }

  .overlay {
    padding: 35px 45px;
  }

  .title {
    font-size: 55px;
  }

  .subtitle {
    font-size: 22px;
  }

  .area {
    font-size: 32px;
  }

  .area span {
    font-size: 18px;
    margin: 0 6px;
  }

  .nav-arrows {
    right: 20px;
  }

  .nav-arrows button {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

/* CELULARES GRANDES: até 768px */
@media (max-width: 768px) {
  .carousel {
    height: 65vh;
    margin-top: 85px;
  }

  .overlay {
    padding: 25px 30px;
  }

  .title {
    font-size: 42px;
  }

  .subtitle {
    font-size: 18px;
  }

  .area {
    font-size: 28px;
  }

  .area span {
    font-size: 16px;
    margin: 0 4px;
  }

  .nav-arrows {
    right: 15px;
    gap: 12px;
  }

  .nav-arrows button {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}

/* CELULARES PEQUENOS: até 480px */
@media (max-width: 480px) {
  .carousel {
    height: 50vh;
    margin-top: 85px;
  }

  .overlay {
    padding: 15px 20px;
  }

  .title {
    font-size: 28px;
  }

  .subtitle {
    font-size: 16px;
  }

  .area {
    font-size: 22px;
  }

  .area span {
    font-size: 14px;
    margin: 0 3px;
  }

  .nav-arrows {
    right: 10px;
    gap: 10px;
  }

  .nav-arrows button {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

