/* ================= 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;

  /* extras derivados (pra hover e contraste) */
  --azul-hover: #1f4c7a;
  --escuro-hover: #0c0c0e;
}

body{
  font-family: "Urbanist", sans-serif;
  background: var(--branco-polido);
  color: var(--preto-fornalha);
}
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: 1200px;
  margin: 0 auto;
}

/* ================= HEADER ================= */

.header{
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{
  height: auto;
  margin-top: 50px;
    max-height: 70px;
}

/* 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: var(--branco-polido);
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;
transition:.3s;
}

.nav-btn:hover{
  background: var(--azul-hover);
transform:translateY(-1px);
}


.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) 10%,
    rgba(15,35,55,0.3) 100%
  );
    pointer-events: none;
}

.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);
color:#fff;
padding:14px 26px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-primary:hover{
  background: var(--azul-hover);
}

.btn-secondary{
  border:2px solid var(--branco-polido);
  color: var(--branco-polido);
padding:14px 26px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-secondary:hover{
  background: var(--branco-polido);
  color: var(--preto-fornalha);
}

/* ================= 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: var(--branco-polido);
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,.25);
}

.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(--branco-polido);
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: var(--branco-polido);
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-footer:hover{
  background: var(--azul-hover);
}

/* ================= RESPONSIVIDADE PROFISSIONAL ================= */

/* ================= BASE MOBILE FIRST ================= */

html{
  font-size: 15px;
}

.container{
  width: 90%;
}

/* ================= HEADER ================= */

@media (max-width:768px){

  .header{
    height: 70px;
  }


  .nav-links{
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: var(--preto-fornalha);
    padding: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .footer{
  padding:35px;
}

  .footer img{
    margin: 10px;
  }
}

@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;
  }

}

/* ================= HERO ================= */

@media (max-width:768px){

  .hero{
    padding: 120px 0 40px;
    min-height: 90vh;
  }

  .hero-content{
    max-width: 100%;
  }

  .hero h1{
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-top{
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .hero-buttons{
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-secondary{
    width: 100%;
    text-align: center;
    padding: 14px;
  }

}

/* ================= SEÇÕES ================= */

@media (max-width:768px){

  .section-title{
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .servicos{
    padding: 80px 0;
  }

  .servicos-grid{
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .servico-card img{
    height: 200px;
  }

}

/* ================= SOBRE ================= */

@media (max-width:900px){

  .sobre{
    padding: 80px 0;
  }

  .sobre-container{
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .texto-sobre{
    max-width: 100%;
  }

  .texto-sobre p{
    font-size: 0.95rem;
    line-height: 1.6;
  }

}

/* ================= CONTATO ================= */

@media (max-width:768px){

  .contato{
    padding: 40px 0;
  }

  .contato-bar{
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .contato-item{
    width: 100%;
  }

}

/* ================= FOOTER ================= */

@media (max-width:768px){

  .footer-container{
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-logo{
    width: 180px;
  }

}

/* ================= TABLET ================= */

@media (min-width:769px) and (max-width:1024px){

  .container{
    width: 92%;
  }

  .servicos-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .hero h1{
    font-size: 2.2rem;
  }

}

/* ================= DESKTOP GRANDE ================= */

@media (min-width:1200px){

  html{
    font-size: 16px;
  }

  .container{
    width: 92%;
    max-width: 1300px;
  }

}


@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;
}

}