*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f4f6f9;
  color: #333;
  width: 100%;
  min-height: 100vh;
}

header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 15px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;

  height: auto;        
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 20px;
    color: #000000;
}

.nav-bar{   

    display: flex;
    width: 100%;
    margin: 0% 10%;
}

.nav-bar ul{
    color:#000000;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    
}

.nav-bar a {

    

    color:#000000;
    margin: 5px;
    justify-content: space-between;
    font-weight: 400;
    text-decoration: none;
}

.main {
  position: relative;
  overflow: hidden;

  max-width: 100vw;
  min-height: 75vh;
  padding: 60px 20px;
  gap: 30px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  background-image: url("/assets/backgroundImgMain.png");
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;

}

.main > * {
  position: relative;
  z-index: 2;
}
.main::before {
  content: "";
  position: absolute;
  inset: 0;

  background: inherit;
  filter: blur(4px);         
  transform: scale(1.06);
  z-index: 0;
}

.main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}


.main-text h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

.main-bottom {

  display: flex;
  justify-content: center;
  width: 20%;
  height: auto;
  
  justify-content: space-around;
}


.services{
  padding: 70px 40px;
  background: linear-gradient(#eef2f7, #ffffff);
}

.services-head{
  max-width: 1100px;
  margin: 0 auto 26px auto;
  text-align: center;
}

.services-head h2{
  font-size: 28px;
  margin-bottom: 8px;
  color: #0b1220;
}

.services-head p{
  margin: 0;
  color: #667085;
  font-size: 15px;
}

.cards{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  backdrop-filter: blur(6px);
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(2, 6, 23, .10);
  border-color: rgba(16, 16, 80, .20);
}

.card-top{
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.chip{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(16, 16, 80, .08);
  border: 1px solid rgba(16, 16, 80, .15);
}

.card h3{
  margin: 0;
  font-size: 18px;
  color: #0b1220;
}

.card p{
  margin: 4px 0 0;
  color: #667085;
  font-size: 14px;
}

.card-list{
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  gap: 10px;
}

.card-list li{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, .04);
  border: 1px solid rgba(15, 23, 42, .06);
  color: #1f2937;
  font-size: 14px;
}

.card-list li::before{
  content: "✔";
  margin-right: 10px;
  color: rgb(16, 16, 80);
  font-weight: 700;
}

.card-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: rgb(16, 16, 80);
  color: #fff;
  border-color: rgba(16,16,80,.2);

  font-size:medium;
  text-align: center;

  border-radius: 8px;
  padding: 5px;
  width: 150px;
  height: 50px;


  font-weight: bold;
}

.btn-primary:nth-child(2){
  background: rgb(255, 255, 255);
  color: rgb(16, 16, 80);

  border-radius: 8px;
  padding: 8px;
}
.btn-primary:nth-child(2):hover{

  background-color: #bfc2c9;
  color: #000000;
  
}

.btn-primary:hover{
  background: rgb(12, 12, 60);
  cursor:pointer;
}

.btn-ghost{
  background: transparent;
  border-color: rgba(15, 23, 42, .12);
  color: #0b1220;
}

.btn-ghost:hover{
  background: rgba(15, 23, 42, .04);
}


/*Nosso Portfólio*/
.portfolio{
  padding: 60px 40px;
  text-align: center;
}

.portfolio h2{
  font-size: 28px
}

.portfólio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center
}


/*grid das imagens*/
/*
.portfólio-grid {
  display:none;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}*/

.portfólio-grid .active{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.portfolio-grid img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/*client area */

.client-area{
  padding: 60px 40px;
  background: linear-gradient(#ffffff, #eef2f7);
  text-align: center;
}

.nav-bar-secondary {
    color:#000000;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}



/* Responsivo */
@media (max-width: 900px){
  .cards{ grid-template-columns: 1fr; }
  .services{ padding: 50px 18px; }
}