.hero {
  min-height: clamp(570px,min(47vw,94svh),1810px);
  background: #177886;
}
.hero .hero-img { object-position: left center; }
.costa-estadia {
  --altura-aquarela: clamp(76px, 9vw, 188px);
  position: relative;
  isolation: isolate;
  background: #c9b69b;
}
.paisagem-estadia, .paisagem-estadia img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.paisagem-estadia { z-index: -1; overflow: clip; }
.paisagem-estadia img { height: 114%; object-fit: cover; object-position: 72% top; }
.costa-estadia .caderno {
  padding-top: calc(var(--altura-aquarela) + 1.5rem);
}
.costa-estadia .caderno-aberto { z-index: 1; }
.despedida-conteudo {
  display: grid;
  grid-template-columns: minmax(0, 84%) 1fr;
  justify-items: center;
}
.hero .paper-edge,
.costa-estadia::before,
.costa-estadia::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--altura-aquarela);
  pointer-events: none;
  background: var(--papel);
  mask-image: url("assets/beira-aquarela.webp");
  mask-position: center bottom;
  mask-size: max(100%, 680px) 100%;
  mask-repeat: no-repeat;
}
.hero .paper-edge { --altura-aquarela: clamp(106px, 10vw, 245px); }
.costa-estadia::before {
  inset: 0 0 auto;
  transform: scaleY(-1);
}
.costa-estadia::after { transform: scaleX(-1); }
.hero .hero-inner {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  text-align: center;
  padding: clamp(96px,9.5svh,180px) 16px clamp(94px,8vw,180px);
}
.hero .hero-copy {
  max-width: 100%;
  color: white;
}
.hero #hero-titulo {
  margin: .1em 0 .11em;
  color: white;
  font-size: clamp(69px,11.8vw,430px);
  font-weight: 630;
  line-height: .9;
  letter-spacing: -.067em;
  text-shadow: 0 1px 3px #13394470;
}
.hero #hero-titulo em {
  display: inline-block;
  padding: 0 .08em .11em;
  margin: 0 -.08em -.11em;
  color: white;
  font-size: 1em;
  line-height: 1.03;
  letter-spacing: -.067em;
  mask-image: linear-gradient(white 0% 44%,#fffe 52%,#fffa 66%,#fff6 78%,#fff4 91%);
}
.hero .hero-desc {
  max-width: 39ch;
  margin-inline: auto;
  color: white;
  font-size: clamp(.96rem,1.15vw,1.38rem);
  font-weight: 620;
  line-height: 1.46;
  text-wrap: balance;
  text-shadow: 0 0 1px #133741, 0 1px 3px #143744;
}
.botao-mar {
  display: inline-grid;
  place-items: center;
  max-width: 100%;
  min-height: 48px;
  padding: .72rem 1.55rem;
  border: 1px solid #ffffff99;
  border-radius: 100px;
  background-color: #154349;
  box-shadow: inset 0 1px 0 #ffffff26, 0 2px 8px #052b3229;
  color: #fff;
  font: 700 .96rem/1.3 Manrope, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .botao-mar {
    background-color: rgb(3 33 38 / var(--tinta-do-vidro, 42%));
    -webkit-backdrop-filter: blur(2.5px) saturate(120%);
    backdrop-filter: blur(2.5px) saturate(120%);
  }
}
@media (hover: hover) {
  .botao-mar:hover { background-color: #16474eed; border-color: #fff; }
}
.botao-mar:focus-visible { outline: 3px solid white; outline-offset: 3px; box-shadow: 0 0 0 7px #123f45; }
.botao-mar:active { background-color: #123e45; }
.hero .botao-mar { --tinta-do-vidro: 52%; margin-top: clamp(14px,1.5vw,28px); }
.despedida .convite-mar { position: relative; z-index: 1; width: fit-content; max-width: 100%; text-align: center; }
.despedida #titulo-despedida {
  margin: 0;
  color: #fffaf1;
  font: 570 clamp(2.85rem, 5.4vw, 5.75rem)/1.05 "Caveat Patacho", "Segoe Print", cursive;
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow: 0 1px 3px #173c47b8;
}
#titulo-despedida span { white-space: nowrap; }
.despedida .botao-mar { margin-top: 1.2rem; }
@media (min-width: 1800px) {
  .paisagem-estadia img { height: 100%; object-position: 70% 64%; }
  .costa-estadia .caderno {
    padding-top: calc(var(--altura-aquarela) * .74 + 1.5rem);
    padding-bottom: calc(72px + var(--altura-aquarela) * .26);
  }
}
@media (max-width: 1200px) {
  .paisagem-estadia img { height: 121%; object-position: 81% top; }
}
@media (max-width:950px) and (orientation:portrait) {
  .hero { min-height: clamp(580px,84svh,1030px); }
  .hero .hero-inner { padding-top: 96px; padding-bottom: 70px; }
  /* sombra atrás do texto: no celular o branco cai sobre a espuma clara e some */
  .hero .hero-copy { position: relative; isolation: isolate; }
  .hero .hero-copy::before {
    content: "";
    position: absolute;
    inset: -55% -45%;
    z-index: -1;
    background: radial-gradient(closest-side, rgb(5 38 46 / .5), rgb(5 38 46 / .4) 30%, rgb(5 38 46 / .22) 58%, rgb(5 38 46 / .08) 80%, rgb(5 38 46 / 0));
    pointer-events: none;
  }
  .hero #hero-titulo { font-size: clamp(44px,14.4vw,118px); }
}
@media (max-width:690px) {
  .paisagem-estadia img { height: 135%; object-position: 70% top; }
  .costa-estadia .caderno { padding-inline: clamp(14px, 4.5vw, 26px); }
  .despedida-conteudo { grid-template-columns: minmax(0, 67%) 1fr; }
  .hero { min-height: clamp(525px,84svh,790px); }
  .hero .hero-inner { padding: 89px 12px 48px; }
  .hero #hero-titulo { font-size: clamp(40px,15.55vw,96px); }
  .hero .hero-desc { max-width: 30ch; }
}
@media (forced-colors:active) {
  .hero #hero-titulo em { mask-image: none; }
  .botao-mar { color: LinkText; background: Canvas; border-color: LinkText; }
  .botao-mar:focus-visible { outline-color: Highlight; }
}
