.home-body {
  padding-bottom: 0;
  background: var(--navy);
}

.home {
  max-width: 720px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 20px 4px;
}
.home-nav .trip-title { color: var(--paper); }

/* ---------------------------------------------------------------- */
/* Flight route + photo                                              */
/* ---------------------------------------------------------------- */
.route-hero {
  position: relative;
  background: var(--navy);
  padding: 8px 0 10px;
  min-height: 400px;
  overflow: visible;
}
.route-hero__map {
  width: 100%;
  height: auto;
  display: block;
}
.route-node__code {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  fill: var(--paper);
  letter-spacing: 0.04em;
}
.route-node__city {
  font-family: var(--font-mono);
  font-size: 7px;
  fill: #9AA5AE;
}

.map-tile__ocean {
  fill: #1D5C82;
}
.map-tile__land {
  fill: #D8C6A0;
  stroke: #9C8A62;
  stroke-width: 1.1;
}
.map-tile__city {
  fill: #C4633F;
  stroke: #FFFFFF;
  stroke-width: 2;
}

.route-hero__photo-wrap {
  position: absolute;
  top: 66%;
  left: 27%;
  width: 40%;
  max-width: min(160px, 62vw);
  z-index: 5;
  transform-origin: center center;
  animation: photoAppear 0.7s ease forwards, photoShrink 0.7s ease forwards 2.8s;
}
@keyframes photoAppear {
  from { transform: translate(-50%, -50%) rotate(-4deg) scale(0.85); opacity: 0; }
  to   { transform: translate(-50%, -50%) rotate(-4deg) scale(1); opacity: 1; }
}
@keyframes photoShrink {
  from { transform: translate(-50%, -50%) rotate(-4deg) scale(1); opacity: 1; }
  to   { transform: translate(-50%, -50%) rotate(6deg) scale(0.04); opacity: 0; }
}
.route-hero__photo {
  background: #fff;
  padding: 8px 8px 26px;
  border-radius: 4px;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.3);
}
.route-hero__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}
.route-hero__photo-tag {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  color: #3A342A;
}

/* foto de "chegada", some perto de Tel Aviv quando o aviao pousa */
.route-hero__photo-wrap--arrive {
  top: 50%;
  left: 78%;
  width: 32%;
  max-width: 130px;
  z-index: 6;
  animation: arrivePhotoAppear 0.5s cubic-bezier(.2,1.4,.4,1) forwards 6.4s;
  opacity: 0;
}
@keyframes arrivePhotoAppear {
  from { transform: translate(-50%, -50%) rotate(4deg) scale(0.3); opacity: 0; }
  to   { transform: translate(-50%, -50%) rotate(4deg) scale(1); opacity: 1; }
}

/* linha que "se desenha" conforme o aviao avança */
.route-drawn-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawPath 3s ease-in-out forwards 3.5s;
}
@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

.flying-plane { opacity: 0; }

/* quem prefere menos movimento ve tudo ja no estado final, sem animacao */
@media (prefers-reduced-motion: reduce) {
  .route-hero__photo-wrap:not(.route-hero__photo-wrap--arrive) { display: none; }
  .route-hero__photo-wrap--arrive {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(4deg) scale(1);
  }
  .route-drawn-path { animation: none; stroke-dashoffset: 0; }
  .flying-plane { opacity: 0 !important; }
}

/* ---------------------------------------------------------------- */
/* Intro + CTA                                                       */
/* ---------------------------------------------------------------- */
.home-intro {
  background: var(--stone);
  border-radius: 22px 22px 0 0;
  padding: 30px 24px 34px;
  flex: 1;
  margin-top: -14px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.home-intro__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin: 0 0 10px;
}
.home-intro__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}
.home-intro__text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 auto 26px;
}
.home-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.home-intro__cta:hover { transform: translateY(-1px); }

.home-footer {
  background: var(--stone);
  text-align: center;
  padding: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
}

@media (min-width: 600px) {
  .route-hero__map { max-height: 320px; }
  .home-intro__title { font-size: 36px; }
}
