/* =========================================================
   Hotel Abada — style.css
   Identidade derivada do letreiro: azul-marinho profundo +
   dourado. Display: Fraunces. Corpo: Instrument Sans.
   ========================================================= */

:root {
  --tinta: #141A2E;        /* navy do letreiro */
  --tinta-suave: #1E2743;  /* painel sobre o navy */
  --ouro: #D9A93B;         /* dourado do letreiro */
  --ouro-suave: #EBD08A;
  --papel: #F1F2F4;        /* cinza-azulado claro (corpo) */
  --texto: #262B38;
  --linha: rgba(217, 169, 59, .45);
  --raio: 20px;
  --fonte-display: "Fraunces", Georgia, serif;
  --fonte-corpo: "Instrument Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-corpo);
  color: var(--texto);
  background: var(--papel);
  line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ouro);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-block;
  font-family: var(--fonte-corpo);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-ouro {
  background: var(--ouro);
  color: var(--tinta);
}
.btn-ouro:hover { background: var(--ouro-suave); }

.btn-ghost {
  color: #fff;
  border: 1px solid var(--linha);
}
.btn-ghost:hover { border-color: var(--ouro); color: var(--ouro-suave); }

.btn-do { font-size: 1.05rem; padding: 1rem 2rem; }

/* ---------- Cabeçalho ---------- */

.cabecalho {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 26, 46, .92);
  backdrop-filter: blur(6px);
}

.cabecalho-dentro {
  max-width: 1120px;
  margin: 0 auto;
  padding: .6rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.marca {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}

.marca-nome {
  font-family: var(--fonte-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ouro);
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}

.menu a {
  color: #E8EAF0;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
}

.menu a:hover { color: var(--ouro-suave); }

.menu-cta {
  color: var(--tinta) !important;
  background: var(--ouro);
  padding: .5rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
}
.menu-cta:hover { background: var(--ouro-suave); color: var(--tinta) !important; }

.menu-botao {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--linha);
  border-radius: 8px;
  width: 42px; height: 38px;
  cursor: pointer;
  position: relative;
}

.menu-botao-traco,
.menu-botao-traco::before,
.menu-botao-traco::after {
  content: "";
  position: absolute;
  left: 9px; right: 9px;
  height: 2px;
  background: #fff;
}

.menu-botao-traco { top: 12px; }
.menu-botao-traco::before { top: 6px; }
.menu-botao-traco::after  { top: 12px; }

@media (max-width: 720px) {
  .menu-botao { display: block; }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    padding: 1rem 1.5rem 1.4rem;
    background: var(--tinta-suave);
    border-bottom: 1px solid var(--linha);
  }

  .menu.aberto { display: flex; }

  .menu a { padding: .45rem 0; font-size: 1.05rem; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--tinta);
  color: #fff;
}

.hero-dentro {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(3rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-assinatura {
  font-family: var(--fonte-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--ouro);
  margin-bottom: .9rem;
}

.hero h1 {
  font-family: var(--fonte-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  max-width: 16ch;
  margin-bottom: 1.1rem;
}

.hero-sub {
  max-width: 44ch;
  color: #C9CEDD;
  font-size: 1.08rem;
  margin-bottom: 1.8rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.6rem;
}

.hero-tel {
  font-size: .95rem;
  color: #9AA2B8;
}

.hero-tel a {
  color: #C9CEDD;
  text-decoration: none;
  border-bottom: 1px solid var(--linha);
}

.hero-foto {
  justify-self: end;
  align-self: center;
  position: relative;
}

.hero-foto img {
  width: 100%;
  max-height: 74vh;
  object-fit: cover;
  border-radius: var(--raio);
}

/* moldura fina dourada deslocada — o único gesto forte da página */
.hero-foto::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--linha);
  border-radius: calc(var(--raio) - 8px);
  pointer-events: none;
}

@media (max-width: 880px) {
  .hero-dentro { grid-template-columns: 1fr; }

  .hero-foto {
    justify-self: stretch;
    max-width: 340px;
    margin-inline: auto;
  }

  .hero-foto img { max-height: none; }
}

/* ---------- Seções claras ---------- */

.secao-cabeca {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem 1rem;
}

.secao-cabeca h2 {
  font-family: var(--fonte-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--tinta);
  margin-bottom: .55rem;
}

.secao-cabeca p {
  max-width: 52ch;
  color: #556074;
}

/* ---------- Quartos: linhas editoriais ---------- */

.quartos-dentro {
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.room {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-top: 2.2rem;
}

.quartos-dentro .room:first-of-type { padding-top: 0; }

.room:nth-of-type(even) .room-foto { order: 2; }

.quartos-dentro > .room:not(:first-of-type) {
  border-top: 1px solid rgba(38, 43, 56, .12);
}

.room-foto img {
  aspect-ratio: 570 / 450;
  object-fit: cover;
  border-radius: var(--raio);
}

.room-info h3 {
  font-family: var(--fonte-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--tinta);
  margin-bottom: .5rem;
}

.room-info p {
  max-width: 40ch;
  color: #556074;
  margin-bottom: .9rem;
}

.room-reserva {
  font-weight: 600;
  font-size: .95rem;
  color: var(--tinta);
  text-decoration: none;
  border-bottom: 2px solid var(--ouro);
  padding-bottom: 2px;
}

.room-reserva:hover { color: #5b4a12; }

@media (max-width: 720px) {
  .room { grid-template-columns: 1fr; }
  .room:nth-of-type(even) .room-foto { order: 0; }
}

/* ---------- Café e recepção ---------- */

.servico {
  background: var(--tinta);
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.servico-dentro {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.servico-foto img {
  aspect-ratio: 1170 / 650;
  object-fit: cover;
  border-radius: var(--raio);
}

.servico-foto figcaption {
  margin-top: 1rem;
}

.servico-foto h3 {
  font-family: var(--fonte-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ouro-suave);
  margin-bottom: .35rem;
}

.servico-foto figcaption p {
  color: #C9CEDD;
  max-width: 38ch;
}

@media (max-width: 720px) {
  .servico-dentro { grid-template-columns: 1fr; }
}

/* ---------- Contato ---------- */

.contato-dentro {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.contato-dentro h2 {
  font-family: var(--fonte-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--tinta);
}

.contato-dentro p {
  color: #556074;
  max-width: 40ch;
}

.contato-tels {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.4rem;
  margin-top: .4rem;
}

.contato-tels a {
  color: var(--tinta);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--ouro);
  padding-bottom: 2px;
}

.contato-tels a:hover { color: #5b4a12; }

/* ---------- Rodapé ---------- */

.rodape {
  background: var(--tinta);
  color: #C9CEDD;
}

.rodape-dentro {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
}

.rodape img { height: 44px; width: auto; opacity: .9; }

.rodape p:first-of-type {
  font-family: var(--fonte-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ouro);
}

.rodape-tels { font-size: .95rem; }

.rodape-tels a { color: inherit; }

.rodape-copy {
  font-size: .85rem;
  color: #8b93a9;
}

/* ---------- Movimento ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
