/* =========================================================
   It Be Hotel — estilos
   ========================================================= */

:root {
  --night: #0b2b29;
  --night-2: #123c39;
  --teal: #0f766e;
  --teal-dark: #0b5a54;
  --teal-soft: #d9f0ec;
  --sand: #f6f2ea;
  --cream: #fffdf8;
  --gold: #d9a441;
  --text: #16211f;
  --muted: #5a6b68;
  --rule: #e2ddd0;

  --r-lg: 22px;
  --r-sm: 10px;
  --lift: 0 22px 48px -22px rgba(11, 43, 41, 0.35);

  --f-title: "Outfit", system-ui, sans-serif;
  --f-text: "Work Sans", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--f-title);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

.wrap {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}

.tag {
  display: inline-block;
  font-family: var(--f-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.tag--gold { color: var(--gold); }

/* ---------- Botões ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--cream);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--teal);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.cta:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
}

.cta--outline {
  background: transparent;
  color: var(--night);
  border-color: var(--night);
}

.cta--outline:hover {
  background: var(--night);
  border-color: var(--night);
  color: var(--cream);
}

.cta--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--night);
}

.cta--gold:hover {
  background: #e6b55a;
  border-color: #e6b55a;
}

.cta--sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
}

/* ---------- Logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand__door {
  width: 28px;
  height: 36px;
  border-radius: 14px 14px 3px 3px;
  background: var(--teal);
  position: relative;
}

.brand__door::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 19px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.brand__name {
  font-family: var(--f-title);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.brand__name small {
  font-family: var(--f-text);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Cabeçalho ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 234, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.menu a:not(.cta) {
  text-decoration: none;
  font-weight: 500;
  color: var(--night-2);
  position: relative;
}

.menu a:not(.cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.menu a:not(.cta):hover::after { transform: scaleX(1); }

.burger-check,
.burger { display: none; }

/* ---------- Abertura ---------- */
.opening {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.opening__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.opening__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.opening__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.opening__photo {
  margin: 0 0 1.5rem;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.opening__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.facade {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  justify-self: center;
}

.facade__tower {
  position: absolute;
  inset: 6% 12% 0 12%;
  background: var(--night);
  border-radius: 150px 150px 0 0;
}

.facade__tower::before {
  content: "";
  position: absolute;
  inset: 22% 14% 14%;
  background: repeating-linear-gradient(180deg, rgba(217, 164, 65, 0.9) 0 14px, transparent 14px 34px);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 22px, transparent 22px 44px);
          mask: repeating-linear-gradient(90deg, #000 0 22px, transparent 22px 44px);
}

.facade__moon {
  position: absolute;
  top: 0;
  right: 4%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
}

.facade__ground {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0;
  height: 8%;
  background: var(--teal);
  border-radius: 8px;
}

.facade__note {
  position: absolute;
  background: var(--cream);
  border-radius: var(--r-sm);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--lift);
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.facade__note span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.facade__note strong {
  font-family: var(--f-title);
  font-size: 1.25rem;
}

.facade__note--a { top: 14%; left: -6%; }
.facade__note--b { top: 52%; right: -6%; }
.facade__note--c { bottom: 10%; left: 0; }

/* ---------- Faixa ---------- */
.strip {
  background: var(--night);
  color: var(--cream);
  padding: 2.6rem 0;
}

.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.strip__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--gold);
}

.strip__item strong {
  font-family: var(--f-title);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1;
}

.strip__item span {
  color: #b5cbc8;
  font-size: 0.95rem;
}

/* ---------- Seções ---------- */
.block {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.block--white { background: var(--cream); }

.block__head {
  max-width: 640px;
  margin-bottom: 3rem;
}

/* ---------- Sobre ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.story__text p {
  font-size: 1.08rem;
  color: var(--night-2);
}

.story__photo {
  margin: 1.5rem 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.story__photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Oferta ---------- */
.offer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.offer__card {
  background: var(--sand);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.offer__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lift);
  border-color: transparent;
}

.offer__no {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px 14px 4px 4px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-family: var(--f-title);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.offer__card p {
  color: var(--muted);
  margin: 0;
}

.offer__card--call {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.offer__card--call p {
  color: rgba(255, 253, 248, 0.9);
  margin-bottom: 1.5rem;
}

/* ---------- Passos ---------- */
.stay {
  background: var(--night);
  color: var(--cream);
  overflow: hidden;
}

.stay__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.stay__intro {
  color: #c3d6d3;
  font-size: 1.05rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.2rem;
}

.steps li {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 0.9rem;
}

.steps li::before {
  content: "";
  grid-row: span 2;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gold)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2b29' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

.steps strong {
  font-family: var(--f-title);
  font-size: 1.1rem;
}

.steps span {
  color: #b5cbc8;
}

.bed {
  position: relative;
  height: 320px;
  max-width: 400px;
  width: 100%;
  justify-self: center;
}

.bed__head {
  position: absolute;
  left: 6%;
  bottom: 18%;
  width: 14%;
  height: 62%;
  background: var(--teal);
  border-radius: 14px 14px 0 0;
}

.bed__base {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 18%;
  height: 26%;
  background: var(--night-2);
  border: 2px solid var(--teal);
  border-radius: 8px;
}

.bed__pillow {
  position: absolute;
  left: 22%;
  bottom: 42%;
  width: 26%;
  height: 14%;
  background: var(--cream);
  border-radius: 40px;
}

.bed__blanket {
  position: absolute;
  left: 40%;
  right: 6%;
  bottom: 18%;
  height: 30%;
  background: var(--gold);
  border-radius: 8px 20px 8px 8px;
}

.bed__lamp {
  position: absolute;
  right: 8%;
  top: 4%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.9), rgba(217, 164, 65, 0.1) 70%);
}

/* ---------- Perguntas ---------- */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.faq__item {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-sm);
  padding: 1.5rem 1.6rem;
}

.faq__item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

.faq__item p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Dados ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.facts__item {
  background: var(--cream);
  padding: 1.5rem 1.7rem;
}

.facts__item--wide { grid-column: span 3; }

.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.facts dd {
  margin: 0;
  font-family: var(--f-title);
  font-size: 1.15rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: #e0f5e8;
  color: #17793a;
  font-size: 0.95rem;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Contato ---------- */
.reach { padding-top: 0; }

.reach__box {
  background: var(--night);
  color: var(--cream);
  border-radius: calc(var(--r-lg) * 1.4);
  padding: clamp(2rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.reach__box p { color: #b5cbc8; margin: 0; }

.reach__list {
  display: grid;
  gap: 1rem;
}

.reach__link {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.reach__link span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.reach__link strong {
  font-family: var(--f-title);
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

a.reach__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold);
}

/* ---------- Rodapé ---------- */
.bottom {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.bottom__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.bottom p { margin: 0; }

.bottom__legal {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: flex-end;
}

.bottom__legal nav {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
}

.bottom__legal a { color: var(--muted); }

.brand--foot .brand__door {
  width: 22px;
  height: 28px;
}

.brand--foot .brand__door::after {
  top: 14px;
  right: 4px;
}

.brand--foot .brand__name {
  font-size: 1.2rem;
  color: var(--night);
}

/* ---------- Páginas legais ---------- */
.legal {
  width: min(760px, 100% - 32px);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 0.5em;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}

.legal p {
  color: var(--night-2);
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 960px) {
  .opening__grid,
  .story,
  .stay__grid,
  .reach__box {
    grid-template-columns: 1fr;
  }

  .facade { max-width: 340px; }

  .strip__grid { grid-template-columns: repeat(2, 1fr); }

  .bed { height: 260px; }

  .bottom__row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bottom__legal { align-items: flex-start; }
}

@media (max-width: 760px) {
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 2;
  }

  .burger span {
    display: block;
    height: 2px;
    width: 24px;
    margin-inline: auto;
    background: var(--night);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 16px 1.25rem;
    background: var(--sand);
    border-bottom: 1px solid var(--rule);
    display: none;
  }

  .menu a:not(.cta) {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .menu a:not(.cta)::after { display: none; }

  .menu .cta { margin-top: 1rem; }

  .burger-check:checked ~ .menu { display: flex; }

  .burger-check:checked + .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger-check:checked + .burger span:nth-child(2) { opacity: 0; }
  .burger-check:checked + .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .offer,
  .faq { grid-template-columns: 1fr; }

  .facts { grid-template-columns: 1fr; }
  .facts__item--wide { grid-column: auto; }
}

@media (max-width: 560px) {
  .strip__grid { grid-template-columns: 1fr; }

  .facade__note { min-width: 0; padding: 0.65rem 0.85rem; }
  .facade__note strong { font-size: 1.05rem; }
  .facade__note--a { left: 0; }
  .facade__note--b { right: 0; }

  .opening__actions .cta { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { }
  * { transition: none !important; }
}
