/* PAGE */
header{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  padding:60px 50px; /* aumenta o espaço */
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:1000;
}


.routes-page{
  padding:220px 80px 120px;
  background:#f7f5f0;
}
@media(max-width:900px){

  .routes-page{
    padding:140px 25px 80px;
  }

}
@media(max-width:600px){

  .routes-page{
    padding:120px 20px 60px;
  }

}
 
/* HEADER */
.routes-header{
  text-align:center;
  margin-bottom:80px;
}

.routes-header h1{
  font-family:'Cormorant Garamond', serif;
  font-size:64px;
  font-weight:300;
  margin-top:10px;
}

.routes-header p{
  color:#555;
  margin-top:15px;
}

/* GRID */
.routes-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:30px;
}

/* CARD BASE */
.route-card{
  position:relative;
  height:320px;
  border-radius:16px;
  overflow:hidden;
  display:block;
  text-decoration:none;
  color:white;
}

.route-card.large{
  height:520px;
  margin-bottom:60px;
}

/* IMAGE */
.route-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.9s ease;
}

/* OVERLAY */
.route-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.1)
  );
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:30px;
}

/* TEXT */
.route-overlay h2,
.route-overlay h3{
  font-family:'Cormorant Garamond', serif;
  font-weight:300;
  margin:10px 0;
}

/* TAG */
.tag{
  font-size:11px;
  letter-spacing:2px;
  text-transform:uppercase;
  opacity:0.8;
}

/* BUTTON */
.btn{
  display:inline-block;
  margin-top:10px;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  padding:10px 18px;
  border:1px solid rgba(255,255,255,0.5);
  width:max-content;
  transition:all 0.3s ease;
}

/* HOVER EFFECTS */
.route-card:hover img{
  transform:scale(1.08);
}

.route-card:hover .btn{
  background:#9a8054;
  transform:translateY(-2px);
  border-color:#9a8054;
}

/* RESPONSIVE */
@media(max-width:900px){
  .routes-page{
    padding:100px 25px;
  }

  .routes-grid{
    grid-template-columns:1fr;
  }

  .routes-header h1{
    font-size:42px;
  }

  .route-card.large{
    height:380px;
  }
}

@media(max-width:900px){

  header{
    padding:25px;
  }

}