/* Redesign v3: fotografia full-bleed e composicao editorial. */

body { padding-left: 0; background: var(--felt-950); }

body::before {
  background: linear-gradient(rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.012));
}

.spine {
  inset: 0 0 auto;
  width: 100%;
  height: 6px;
  border: 0;
  border-bottom: 1px solid rgba(7, 24, 19, 0.7);
}

.spine__stripes {
  inset: 0 auto 0 -40px;
  width: calc(100% + 80px);
  height: 100%;
  background: repeating-linear-gradient(
    125deg,
    var(--ivory) 0 18px,
    var(--wine) 18px 36px,
    var(--felt-700) 36px 54px
  );
  animation: pole-horizontal 5s linear infinite;
}

.spine__read {
  inset: auto 0 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: read-horizontal linear both;
  animation-timeline: scroll(root block);
}

@keyframes pole-horizontal {
  to { transform: translateX(54px); }
}

@keyframes read-horizontal {
  to { transform: scaleX(1); }
}

.topbar {
  top: 6px;
  background: rgba(7, 24, 19, 0.9);
  border-bottom-color: rgba(239, 232, 216, 0.12);
}

.topbar__in { min-height: 78px; }

.brand {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.nav a { font-size: 0.7rem; }

.topbar .btn--go {
  color: var(--ivory);
  border: 1px solid rgba(240, 166, 47, 0.7);
  background: transparent;
  box-shadow: none;
}

.topbar .btn--go:hover { color: var(--felt-950); background: var(--amber); }

/* Hero vira uma peca fotografica, nao mais duas colunas. */

.hero {
  min-height: calc(100dvh - 84px);
  padding-block: clamp(72px, 10vh, 112px) clamp(64px, 9vh, 96px);
  background: var(--felt-950);
}

.hero::before { display: none; }

.hero__in {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100dvh - 84px - clamp(136px, 19vh, 208px));
}

.hero__text {
  position: relative;
  z-index: 3;
  width: min(760px, 62vw);
  padding: clamp(28px, 4vw, 52px);
  margin-left: clamp(-28px, -2vw, -12px);
  background: rgba(7, 24, 19, 0.76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stars {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ivory);
}

.hero h1 {
  max-width: 15ch;
  margin-block: 26px 22px;
  font-size: clamp(3.7rem, 5.2vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
  font-variation-settings: 'wdth' 82, 'opsz' 90;
}

.hero h1 span { white-space: nowrap; }

.hero__sub {
  max-width: 39ch;
  margin-bottom: 30px;
  color: #D4D8D1;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  filter: saturate(0.78) contrast(1.06) brightness(0.72);
  box-shadow: none;
  object-position: center 48%;
}

.hero__art::after {
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 19, 0.98) 0%, rgba(7, 24, 19, 0.9) 28%, rgba(7, 24, 19, 0.34) 67%, rgba(7, 24, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 24, 19, 0.72), transparent 42%);
}

@media (min-width: 960px) {
  .board {
    position: absolute;
    inset: auto clamp(24px, 5vw, 72px) clamp(24px, 5vw, 58px) auto;
    width: 300px;
    margin: 0;
    background: rgba(7, 24, 19, 0.82);
    border-color: rgba(239, 232, 216, 0.26);
  }
}

.ticker {
  position: relative;
  z-index: 4;
  border-top: 0;
  background: var(--amber);
}

.ticker span,
.ticker span:nth-child(even) { color: var(--felt-950); }

/* Cabecalhos maiores e composicoes que mudam de secao para secao. */

.band {
  border-top-color: rgba(239, 232, 216, 0.12);
  background: var(--felt-800);
}

.band:nth-of-type(even) { background: var(--felt-900); }

.band__head { max-width: 860px; }

.band__head h2 {
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: -0.065em;
  font-variation-settings: 'wdth' 80, 'opsz' 90;
}

.band__note {
  max-width: 42ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

/* A casa: titulo fixo de um lado, conteudo do outro. */

@media (min-width: 900px) {
  #casa {
    display: grid;
    grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
    column-gap: clamp(64px, 9vw, 128px);
    align-items: start;
  }

  #casa .band__head {
    position: sticky;
    top: 150px;
    margin: 0;
  }

  #casa .rooms { grid-template-columns: minmax(0, 1fr); }
  #casa .room { min-height: 0; padding-block: 34px; }
  #casa .room:nth-last-child(-n + 2) { border-bottom: 0; }
  #casa .room:last-child { border-bottom: 1px solid var(--line); }
  #casa .duo { grid-column: 1 / -1; margin-top: 120px; }
}

.room h3 { font-size: clamp(2rem, 3.5vw, 3.5rem); }

.room p { margin-left: 62px; }

.duo { gap: 12px; }
.duo .shot:first-child { transform: translateY(48px); }
.duo .shot img { min-height: 420px; }

/* Servicos: tabela grande e imagem com bloco de acao flutuante. */

#servicos { background: var(--felt-950); }

@media (min-width: 900px) {
  #servicos .band__head { margin-left: 42%; }
  #servicos .menu { grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); }
}

.price { padding-block: 20px; }
.price__name { font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.price__val { font-size: 0.95rem; }

.menu__side { position: relative; }
.menu__side .shot img { min-height: 540px; aspect-ratio: auto; }

@media (min-width: 900px) {
  .menu__side .aside {
    position: absolute;
    right: -18px;
    bottom: -36px;
    width: min(390px, 78%);
  }
}

.aside {
  background: var(--amber);
  border: 0;
  color: var(--felt-950);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.aside p { color: rgba(7, 24, 19, 0.78); }
.aside .ico--amber { color: var(--felt-950); }
.aside .btn--go { color: var(--ivory); background: var(--felt-950); }

/* Galeria ocupa o campo visual inteiro. */

#galeria { background: var(--felt-800); }

@media (min-width: 860px) {
  #galeria .band__head { margin-bottom: 84px; }
  .gallery { grid-template-columns: 1.15fr 0.85fr 1fr; grid-auto-rows: 300px; gap: 12px; }
  .tile--tall { grid-row: span 2; }
  .tile--wide { grid-column: span 2; }
  .gallery .tile:last-child { grid-column: 3; grid-row: 1; }
}

/* Equipe e avaliacoes mantem assimetria, agora com contraste maior. */

#equipe { background: var(--felt-900); }

.mate,
.said,
.score {
  background: rgba(239, 232, 216, 0.035);
  border-color: rgba(239, 232, 216, 0.16);
}

.mate:first-child { background: var(--felt-700); }
.mate h3 { font-size: clamp(1.6rem, 2.6vw, 2.55rem); }

#avaliacoes { background: var(--felt-800); }

.score { border-radius: 0; border-inline: 0; }
.score__num { font-size: clamp(4.5rem, 9vw, 8rem); }

.said:first-child { background: var(--amber); color: var(--felt-950); border: 0; }
.said:first-child figcaption,
.said:first-child figcaption b { color: rgba(7, 24, 19, 0.78); }

/* Endereco termina como uma grande placa de servico. */

#onde { background: var(--felt-950); }

@media (min-width: 860px) {
  #onde .band__head { margin-left: 18%; }
  #onde .here { grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr); }
}

.fact:first-child dd { font-size: clamp(1.6rem, 3.4vw, 3.4rem); line-height: 1.08; }

.social { background: var(--amber); color: var(--felt-950); }
.social__say p { color: rgba(7, 24, 19, 0.75); }
.social__list a { border-color: rgba(7, 24, 19, 0.28); }
.social__list a:hover { color: var(--felt-950); border-color: var(--felt-950); }

.foot { background: var(--felt-950); }

/* Mobile: o poster permanece legivel e a ficha de horario fecha o hero. */

@media (max-width: 899px) {
  .topbar { top: 6px; }
  .topbar__in { min-height: 68px; }

  .hero {
    min-height: 780px;
    padding-block: 72px;
  }

  .hero__in { min-height: 0; }

  .hero__text {
    width: 100%;
    padding: 0;
    margin: 0;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(3.7rem, 17vw, 5.7rem);
    line-height: 0.86;
  }

  .hero h1 span { white-space: normal; }

  .hero__sub { max-width: 30ch; color: var(--ivory); }

  .hero__photo { object-position: 57% center; filter: saturate(0.72) contrast(1.05) brightness(0.58); }

  .hero__art::after {
    background:
      linear-gradient(180deg, rgba(7, 24, 19, 0.82) 0%, rgba(7, 24, 19, 0.5) 52%, rgba(7, 24, 19, 0.94) 100%),
      linear-gradient(90deg, rgba(7, 24, 19, 0.72), transparent);
  }

  .board {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 36px 0 0;
    align-self: stretch;
  }

  .band__head h2 { font-size: clamp(3.25rem, 15vw, 5.2rem); }
  .room p { margin-left: 0; }
  .duo .shot:first-child { transform: none; }
  .duo .shot img { min-height: 280px; }
  .menu__side .shot img { min-height: 360px; }
}

@media (max-width: 540px) {
  .hero { min-height: 780px; padding-top: 56px; }
  .hero h1 { margin-top: 24px; }
  .hero__acts { max-width: 300px; }
  .hero__acts .btn { width: auto; justify-self: start; }
  .hero__acts .btn--ghost { color: var(--ivory); background: rgba(7, 24, 19, 0.56); }
  .ticker { padding-block: 12px; }
  .band { padding-block: 88px; }
  .fact:first-child dd { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .spine__stripes,
  .spine__read { animation: none; }
  .spine__read { transform: scaleX(1); }
}
