/* PAGE */
header{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  padding:5px 50px; /* aumenta o espaço */
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:1000;
}
html {
  scroll-behavior: smooth;
}
.map-embed{
  width:100%;
  height:80vh;
  border-radius:14px;
  overflow:hidden;
  transition: transform 0.3s ease;
}
.map-embed:hover {
  transform: scale(1.01);
}
.map-embed iframe,
.map-embed div{
  width:100%;
  height:100%;
}
:root{
  --gold:#9a8054;
  --gold-light:#c9b88a;
  --ink:#111;
  --cream:#f7f5f0;
  --line:rgba(17,17,17,0.1);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter', sans-serif;
  color:var(--ink);
  background:#fff;
}

/* HERO NOVO */

.route-hero{
  min-height:100vh;

  background:#f7f5f0;

  display:grid;

  grid-template-columns:1fr 1fr;

  align-items:center;

  gap:80px;

  padding:200px 80px 100px;
}

/* TEXTO */

.route-hero-content{
  max-width:520px;
}

.route-breadcrumb{
  display:inline-block;

  margin-bottom:30px;

  color:#666;

  text-decoration:none;
}

@media(max-width:900px){

  .route-hero{
    grid-template-columns:1fr;
    gap:30px;
    padding:120px 25px 50px;
    min-height:auto;
  }

  .route-hero-content{
    max-width:100%;
  }

  .route-hero h1{
    font-size:clamp(34px, 7vw, 52px);
    line-height:1.15;
  }

  .route-subtitle{
    font-size:15px;
  }

  .route-hero-image img{
    height:320px;
    border-radius:16px;
  }

  .hero-btn{
    width:100%;
    max-width:260px;
  }
}

@media(max-width:600px){

  .route-hero{
    padding:100px 20px 40px;
  }

  .route-hero-image img{
    height:260px;
  }
}

.route-tag{
  display:block;

  margin-bottom:20px;

  font-size:11px;

  letter-spacing:4px;

  text-transform:uppercase;

  color:#9a8054;
}

.route-hero h1{
  font-family:'Cormorant Garamond', serif;

  font-size:82px;

  font-weight:300;

  line-height:1;

  margin-bottom:24px;

  color:#111;
}

.route-subtitle{
  font-size:17px;

  line-height:1.9;

  color:#555;

  margin-bottom:40px;
}

/* BOTÃO */

.hero-btn{
  display:inline-flex;

  align-items:center;

  justify-content:center;

  height:54px;

  padding:0 28px;

  background:#111;

  color:#fff;

  text-decoration:none;

  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  background: #9a8054;
}

/* IMAGEM */

.route-hero-image img{
  width:100%;

  height:75vh;

  object-fit:cover;

  border-radius:24px;
  transition: transform 0.6s ease;
}

.route-hero-image img:hover {
  transform: scale(1.03);
}

/* MOBILE */

@media(max-width:900px){

  .route-hero{
    grid-template-columns:1fr;

    gap:50px;

    padding:140px 35px 70px;
  }

  .route-hero h1{
    font-size:clamp(34px, 6vw, 82px);
  }

  .route-hero-image img{
    height:420px;
  }

}
@media(max-width:600px){

  .route-hero-image img{
    height:260px;
  }

}


@media(max-width:600px){

  .stat{
    padding:26px 12px;
  }

  .stat-value{
    font-size:28px;
  }

}

@media(max-width:900px){

  .route-about-image{
    padding:25px;
  }

  .route-about-image iframe{
    height:320px;
  }

}


@media(max-width:600px){

  .itinerary-list::before{
    left:18px;
  }

  .itinerary-item{
    gap:18px;
  }

}

@media(max-width:600px){

  .route-location{
    padding:60px 25px;
  }

  .location-info h2{
    font-size:30px;
  }

}

@media(max-width:600px){

  .route-gallery{
    padding:80px 20px;
  }

  .gallery-grid{
    grid-auto-rows:200px;
  }

}
/* STATS */

.route-stats{
  display:grid;

  grid-template-columns:
  repeat(auto-fit, minmax(160px, 1fr));

  background:var(--ink);
}

.stat{
  padding:34px 20px;

  text-align:center;

  border-right:
  1px solid rgba(255,255,255,.08);
  transition: background 0.3s ease;
}

.stat:hover {
  background: rgba(255,255,255,0.03);
}

.stat:last-child{
  border-right:none;
}

.stat-value{
  display:block;

  margin-bottom:10px;

  font-family:'Cormorant Garamond', serif;

  font-size:34px;

  color:var(--gold);
}

.stat-label{
  font-size:11px;

  text-transform:uppercase;

  letter-spacing:2px;

  color:rgba(255,255,255,.7);
}

/* GENERIC */

.section-tag{
  display:block;

  margin-bottom:18px;

  color:var(--gold);

  font-size:11px;

  letter-spacing:5px;

  text-transform:uppercase;
}

.section-head{
  margin-bottom:50px;
}

.section-head h2{
  font-family:'Cormorant Garamond', serif;
  font-size:46px;
  font-weight:300;
}

/* PROFILE */

.route-profile{
  padding:100px 80px;
  background:var(--cream);
}

.profile-chart{
  margin-bottom:30px;
}

.profile-chart svg{
  width:100%;
  height:auto;
  display:block;
}

.surface-bar{
  display:flex;

  overflow:hidden;

  height:14px;

  border-radius:999px;

  margin-bottom:24px;

  background:#e5e1d8;
}

.surface-segment{
  height:100%;
}

.surface-legend{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}

.legend-item{
  display:flex;
  align-items:center;
  gap:10px;

  font-size:14px;
}

.legend-swatch{
  width:12px;
  height:12px;
  border-radius:3px;
}

/* ABOUT */

.route-about{
  display:grid;

  grid-template-columns:
  1fr 1.1fr;

  align-items:center;
}

.route-about-image{
  padding:60px;
}

.route-about-image img{
  width:100%;
  height:60vh;

  object-fit:cover;

  border-radius:14px;
}

.route-about-content{
  padding:80px 80px 80px 0;
}

.route-about-content h2{
  font-family:'Cormorant Garamond', serif;
  font-size:46px;
  font-weight:300;

  margin-bottom:24px;
}

.route-about-content p{
  margin-bottom:20px;

  max-width:560px;

  line-height:1.9;

  color:#444;
}

/* ITINERARY */

.route-itinerary{
  padding:100px 80px;
  background:var(--cream);
}

.itinerary-list{
  max-width:720px;
  margin:auto;
  position:relative;
}

.itinerary-list::before{
  content:"";

  position:absolute;

  left:23px;
  top:10px;
  bottom:10px;

  width:1px;

  background:var(--line);
}

.itinerary-item{
  display:flex;
  gap:28px;

  position:relative;

  padding-bottom:46px;
  transition: transform 0.25s ease;
}
.itinerary-item:hover {
  transform: translateX(8px);
}
.itinerary-km{
  width:48px;
  height:48px;

  border-radius:50%;

  background:var(--ink);

  color:var(--gold);

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:12px;

  z-index:1;
}

.itinerary-content h4{
  font-family:'Cormorant Garamond', serif;

  font-size:24px;

  margin-bottom:8px;
}

.itinerary-content p{
  color:#555;
  line-height:1.7;
}

/* LOCATION */

.route-location{
  padding:100px 80px;
  background:#3a3a3a; /* cinza escuro */
  color:#fff;
}

.location-grid{
  display:grid;

  grid-template-columns:
  1fr auto;

  gap:40px;

  align-items:center;
}

.location-info h2{
  font-family:'Cormorant Garamond', serif;
  font-size:42px;
  font-weight:300;

  margin-bottom:18px;
}

.location-info p{
  margin-bottom:24px;

  max-width:500px;

  line-height:1.8;

  opacity:.85;
}

.coordinates{
  display:flex;
  align-items:center;
  gap:14px;
}

.copy-btn{
  border:1px solid rgba(255,255,255,.3);

  background:none;

  color:#fff;

  padding:8px 14px;

  cursor:pointer;

  transition:.3s;
}

.copy-btn:hover{
  border-color:var(--gold);
  color:var(--gold);
}

/* BUTTON */

.btn-primary{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-width:180px;

  height:54px;

  padding:0 28px;

  background:var(--gold);

  color:#fff;

  text-decoration:none;

  transition:.3s;
}

.btn-primary:hover{
  transform:translateY(-2px);
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:none;
}

/* MOBILE */

@media(max-width:900px){

  .route-hero-content{
    padding:0 35px 50px;
  }

  .route-hero h1{
    font-size:48px;
  }

  .route-profile,
  .route-itinerary,
  .route-location{
    padding:70px 35px;
  }

  .route-about{
    grid-template-columns:1fr;
  }

  .route-about-image{
    padding:35px 35px 0;
  }

  .route-about-content{
    padding:35px;
  }

  .route-about-image img{
    height:340px;
  }

  .location-grid{
    grid-template-columns:1fr;
  }

}

@media(max-width:600px){


  .route-hero h1{
    font-size:38px;
  }

  .section-head h2,
  .route-about-content h2,
  .location-info h2{
    font-size:34px;
  }

}
@media(max-width:900px){

  .map-embed{
    height:320px;
  }

  .route-about-image{
    padding:20px;
  }

}

@media(max-width:900px){

  .map-embed{
    height:60vh;
    min-height:400px;
    max-height:600px;
  }

}
@media(max-width:600px){

  .map-embed{
    height:250px;
  }

  .route-about-image{
    padding:15px;
  }

}


/* =========================
   GALERIA
========================= */

.route-gallery{
  padding:120px 8%;
  background:#f7f5f0;
}

.gallery-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  grid-auto-rows:260px;
  gap:18px;
  margin-top:50px;
}

.gallery-item{
  overflow:hidden;
  border-radius:16px;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .8s ease;
}

.gallery-item:hover img{
  transform:scale(1.08);
}

.gallery-item:first-child{
  grid-row:span 2;
}

@media(max-width:900px){

  .gallery-grid{
    grid-template-columns:1fr;
    grid-auto-rows:250px;
  }

  .gallery-item:first-child{
    grid-row:auto;
  }

}
.gallery-item{
  cursor:pointer;
}

.gallery-lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:.3s;
  z-index:9999;
}

.gallery-lightbox.active{
  opacity:1;
  visibility:visible;
}

.gallery-lightbox img{
  max-width:90%;
  max-height:90%;
}

.lightbox-close{
  position:absolute;
  top:25px;
  right:30px;

  background:none;
  border:none;

  color:white;
  font-size:38px;
  cursor:pointer;

  z-index:10000;
  transition:.3s;
}

.lightbox-close:hover{
  transform:scale(1.15);
  color:#c9b88a;
}

 @media(max-width:900px){

  .route-hero{
    grid-template-columns:1fr;
    gap:40px;
    padding:140px 25px 60px;
  }

  .route-hero-image img{
    height:320px;
    border-radius:16px;
  }

}