/* ================= RESET ================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{
  --azul-forja: #0F2337;
  --azul-tecnologico: #285F96;

  --branco-polido: #EBEBEB;
  --aco-bruto: #787878;
  

  --preto-fornalha: #19191C;

  --azul-hover: #1f4c7a;
  --escuro-hover: #0c0c0e;
}

body{
  font-family: "Urbanist", sans-serif;
  background: var(--branco-polido);
  color: var(--preto-fornalha);
  overflow-x:hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ================= CONTAINER ================= */

.container{
width:92%;
max-width:1300px;
margin:0 auto;
}

/* ================= HEADER ================= */

.header{
background: var(--preto-fornalha);
width:100%;
height:80px;
display:flex;
align-items:center;
position:absolute;
top:0;
left:0;
z-index:10;
}

.header-container{
display:flex;
align-items:center;
justify-content:space-between;
}

/* LOGO */

.logo img{
  margin-top: 50px;
  max-height: 50px;
margin-top:0;
display:block;
  height: auto;

}


/* NAV */

.nav-links{
list-style:none;
display:none;
align-items:center;
gap:35px;
}

.nav-links.active{
  display: flex;
}

.nav-links a{
text-decoration:none;
color:#fff;
font-weight:500;
transition:0.3s;
}

.nav-links a:hover{
  color: var(--azul-tecnologico);
}

.nav-btn{
  background: var(--azul-tecnologico);
padding:10px 18px;
color:#fff !important;
font-weight:600;
}


.nav-btn:hover{
      background: var(--azul-hover);
}


.hamburger{
display:flex;
flex-direction:column;
gap:5px;
cursor:pointer;
}

.hamburger span{
width:25px;
height:2px;
background:#fff;
}

@media(min-width:768px){

.nav-links{
display:flex;
}

.hamburger{
display:none;
}

}

/* ================= HERO ================= */

.hero{
min-height:100vh;
padding:120px 0 80px;

background-image:url('/images/top.jpg');
background-size:cover;
background-position:center;

display:flex;
align-items:center;
position:relative;
}

.hero-overlay{
position:absolute;
inset:0;
  background: linear-gradient(
    90deg,
    rgba(15,35,55,0.95) 0%,
    rgba(15,35,55,0.7) 45%,
    rgba(15,35,55,0.3) 100%
  );
}

.hero-content{
position:relative;
color:#fff;
max-width:650px;
}

.hero h1{
font-size:clamp(2rem,4vw,2.6rem);
margin:20px 0;
}

.hero-top{
letter-spacing:2px;
color:#ddd;
}

/* BOTÕES */

.hero-buttons{
display:flex;
gap:20px;
margin-top:30px;
flex-wrap:wrap;
}

.btn-primary{
  background: var(--azul-tecnologico);
  background: var(--branco-polido);
padding:14px 26px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-primary:hover{
  background: var(--azul-hover);
}

.btn-secondary{
border:2px solid #fff;
  color: var(--preto-fornalha);
padding:14px 26px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-secondary:hover{
background:#fff;
color:#000;
}

/* ================= TITULOS ================= */

.section-title{
font-size:clamp(2rem,4vw,2.8rem);
margin-bottom:60px;
position:relative;
}

.section-title::after{
content:'';
display:block;
width:70px;
height:4px;
  background: var(--azul-tecnologico);
margin-top:15px;
}

/* ================= SERVIÇOS ================= */

.servicos{
background:#f6f6f6;
padding:110px 0;
}

.servicos-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
margin-top:60px;
}

.servico-card{
width:100%;
max-width:380px;
margin:0 auto;
position:relative;
overflow:hidden;
border-radius:8px;
color:#fff;
text-decoration:none;
transition:.4s;
}
.servico-card img{
width:100%;
height:300px;
object-fit:cover;
display:block;
}

.servico-info{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:30px;
background:linear-gradient(
0deg,
rgba(0,0,0,.85),
rgba(0,0,0,0)
);
}

.servico-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.servico-card:hover img{
transform:scale(1.08);
}

/* ================= SOBRE ================= */

.sobre{
  background: var(--azul-forja);
padding:120px 0;
}

.sobre-container{
display:flex;
gap:60px;
align-items:center;
}

.texto-sobre{
flex:1;
max-width:520px;
}

.texto-sobre h2{
color:#fff;
}

.texto-sobre p{
  color: var(--aco-bruto);
line-height:1.7;
margin-bottom:20px;
}

.imagem-sobre{
flex:1;
}

.imagem-sobre img{
width:100%;
border-radius:6px;
}

/* ================= CONTATO ================= */

.contato{
  background: linear-gradient(
    90deg,
    var(--azul-forja),
    var(--azul-tecnologico)
  );
padding:50px 0;
color:#fff;
}

.contato-bar{
display:flex;
justify-content:space-between;
align-items:center;
gap:30px;
flex-wrap:wrap;
}

.contato-item{
display:flex;
align-items:center;
gap:15px;
}

.contato-icon{
font-size:36px;
}

.redes a{
display:flex;
align-items:center;
gap:8px;
color:#fff;
text-decoration:none;
}

.redes i{
font-size:20px;
}

/* ================= FOOTER ================= */

.footer{
  background: var(--preto-fornalha);
  color: var(--aco-bruto);
    padding:35px;
}

.footer-container{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:20px;
}

.footer-logo{
  width: 150px;
  object-fit: cover;
}

.btn-footer{
display:inline-block;
padding:12px 22px;
  background: var(--azul-tecnologico);color:#fff;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-footer:hover{
  background: var(--azul-hover);
}

/* ================= RESPONSIVIDADE ================= */

/* laptop */

@media(max-width:1200px){

.servicos-grid{
grid-template-columns:repeat(2, 380px);
}

}

/* tablet */

@media(max-width:900px){

.servicos-grid{
grid-template-columns:380px;
}

.sobre-container{
flex-direction:column;
text-align:center;
}

.contato-bar{
flex-direction:column;
text-align:center;
}

}

/* mobile */

@media(max-width:600px){

.header{
height:70px;
}


.hero-buttons{
flex-direction:column;
}

.btn-primary,
.btn-secondary{
width:100%;
text-align:center;
}

.footer-container{
flex-direction:column;
text-align:center;
}

}


/* tablet */

@media (max-width:1000px){

.servicos-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:768px){

  .contato-bar{
    flex-direction: column;
    align-items: center; /* centraliza horizontal */
    text-align: center;
    gap: 25px;
  }

  .contato-item{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contato-item div{
    text-align: center;
  }

  .redes{
    justify-content: center;
  }

}

/* celular */

@media (max-width:600px){

.servicos-grid{
grid-template-columns:1fr;
gap:25px;
}

.servico-card{
max-width:100%;
}

.servico-card img{
height:260px;
}


}


/* ================= HEADER PAGINA INTERNA ================= */

.header{
  background: var(--azul-forja);
  position:relative;
}


/* ================= PAGINA SERVICO ================= */

.pagina-servico{

padding:120px 0 70px;
background:#fff;

}

/* titulo */

.titulo-servico{

font-size:38px;
font-weight:700;
margin-bottom:35px;
position:relative;

}

.titulo-servico::after{

content:'';
display:block;

width:70px;
height:4px;

  background: var(--azul-tecnologico);

margin-top:14px;

}

/* texto */

.texto-servico{

max-width:900px;

font-size:16px;
line-height:1.8;

color:#444;

}

.texto-servico p{

margin-bottom:18px;

}



.subtitulo-servico{

font-size:26px;
margin-top:40px;
margin-bottom:20px;
font-weight:700;
  color: var(--azul-tecnologico);

}

.lista-servico{

margin-top:10px;
padding-left:20px;

}

.lista-servico li{

margin-bottom:10px;
line-height:1.6;

}


.nav-links.active{
display:flex;
}

.nav-btn{
background-color: var(--azul-hover);
padding:10px 18px;
color:#fff !important;
font-weight:600;
transition:.3s;
}

.nav-btn:hover{
background-color: var(--azul-tecnologico);
transform:translateY(-1px);
}
/* ================= GALERIA ================= */

.galeria-servico{

padding:70px 0;

}

.grid-galeria{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:22px;

}

.grid-galeria img{

width:100%;
height:200px;

object-fit:cover;

border-radius:6px;

transition:.35s;

}

.grid-galeria img:hover{

transform:scale(1.06);

box-shadow:0 12px 30px rgba(0,0,0,.25);

}



/* ================= RESPONSIVO ================= */

@media(max-width:900px){

.titulo-servico{
font-size:32px;
}

.texto-servico{
font-size:15px;
  color: var(--preto-fornalha);
}

.grid-galeria{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.grid-galeria{

grid-template-columns:1fr;

}

}


/* ================= LIGHTBOX ================= */

.lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.85);
display:none;
align-items:center;
justify-content:center;
z-index:999;
}

.lightbox-img{
max-width:90%;
max-height:85%;
border-radius:6px;
box-shadow:0 20px 60px rgba(0,0,0,0.8);
}

.lightbox-fechar{
position:absolute;
top:30px;
right:40px;
font-size:40px;
color:#fff;
cursor:pointer;
}

@media(max-width:768px){

.nav-links{
display:none;
position:absolute;
top:80px;
right:0;
  background: var(--preto-fornalha);
width:220px;
padding:20px;
flex-direction:column;
gap:20px;
}

.nav-links.active{
display:flex;
}

}

