/* =========================================================
   Motel My Way — estilos
   ========================================================= */

:root {
  --wine: #be123c;
  --wine-dark: #9b0e31;
  --wine-soft: #fde4ea;
  --night: #1b0d14;
  --night-2: #2a1520;
  --text: #231a1e;
  --text-soft: #3d2f35;
  --mute: #6f6168;
  --cream: #faf5f2;
  --card: #ffffff;
  --rule: #eadfdc;
  --gold: #e8b27a;

  --r-lg: 22px;
  --r-sm: 12px;
  --drop: 0 22px 50px -22px rgba(27, 13, 20, 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(--cream);
  -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.7rem, 3.3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

.wrap {
  width: min(1160px, 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(--wine);
  margin-bottom: 1rem;
}

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

.tag--pill {
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: var(--wine-soft);
}

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

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

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

.cta--outline:hover {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.cta--white {
  background: #fff;
  color: var(--wine-dark);
  border-color: #fff;
}

.cta--white:hover {
  background: var(--wine-soft);
  border-color: var(--wine-soft);
}

.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__sign {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wine);
}

.brand__sign::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 22px;
  height: 12px;
  border-bottom: 4px solid #fff;
  border-left: 4px solid #fff;
  border-radius: 0 0 0 8px;
  transform: skewX(-20deg);
}

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

/* ---------- Cabeçalho ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 242, 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: 2rem;
}

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

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

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

.nav-check,
.nav-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(--mute);
  max-width: 34rem;
  margin-bottom: 2rem;
}

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

.opening__photo {
  margin: 1.75rem 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--drop);
}

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

.moon {
  position: relative;
  aspect-ratio: 1;
  max-width: 440px;
  width: 100%;
  justify-self: center;
}

.moon__disc {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e0305a, var(--wine) 55%, #6e0a24);
}

.moon__bite {
  position: absolute;
  top: 2%;
  right: 4%;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: var(--cream);
}

.moon__halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  opacity: 0.8;
}

.moon__dot {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
}

.moon__dot--1 { width: 14px; height: 14px; top: 8%; left: 30%; }
.moon__dot--2 { width: 9px; height: 9px; top: 24%; right: 6%; }
.moon__dot--3 { width: 11px; height: 11px; bottom: 18%; right: 20%; }

.fact {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 150px;
  padding: 0.85rem 1.15rem;
  background: var(--card);
  border-radius: var(--r-sm);
  box-shadow: var(--drop);
}

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

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

.fact--a { top: 10%; left: -6%; }
.fact--b { top: 50%; right: -8%; }
.fact--c { bottom: 4%; left: 4%; }

/* ---------- Faixa ---------- */
.band {
  background: var(--night);
  color: #fff;
  padding: 2.75rem 0;
}

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

.band__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--wine);
}

.band__item strong {
  font-family: var(--f-title);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
}

.band__item span {
  color: #cdbcc3;
  font-size: 0.95rem;
}

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

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

.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.1rem;
  color: var(--text-soft);
}

.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(--cream);
  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(--drop);
  border-color: transparent;
}

.offer__n {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--wine-soft);
  color: var(--wine-dark);
  font-family: var(--f-title);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

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

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

/* ---------- Passos (fundo escuro) ---------- */
.night {
  background: var(--night);
  color: #fff;
  overflow: hidden;
}

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

.night__content > p {
  color: #d6c6cd;
  font-size: 1.08rem;
}

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

.steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
}

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

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

.steps span {
  color: #cdbcc3;
}

.door {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.door__glow {
  position: absolute;
  bottom: 0;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190, 18, 60, 0.55), transparent 70%);
}

.door__frame {
  position: relative;
  width: 190px;
  height: 300px;
  border-radius: 100px 100px 0 0;
  border: 8px solid var(--gold);
  border-bottom: 0;
  background: var(--night-2);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.door__leaf {
  width: 100%;
  height: 78%;
  border-radius: 80px 80px 0 0;
  background: linear-gradient(160deg, #e0305a, var(--wine) 60%, #7a0b27);
  position: relative;
}

.door__leaf::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.door__star {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

.door__star--1 { top: 6%; left: 18%; }
.door__star--2 { top: 20%; right: 14%; width: 7px; height: 7px; }

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

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

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

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

/* ---------- 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.75rem;
}

.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(--mute);
  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: #e3f6e9;
  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: #fff;
  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: #d6c6cd; margin: 0 0 1.5rem; }

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

.reach__link {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 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;
}

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

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

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

.foot p { margin: 0; }

.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 0.4rem;
  font-size: 0.82rem;
}

.foot__legal a { color: var(--mute); }

.brand--foot .brand__sign { width: 28px; height: 28px; }
.brand--foot .brand__sign::before { left: 5px; top: 7px; width: 17px; height: 10px; border-width: 3px; }
.brand--foot .brand__name { font-size: 1.15rem; color: var(--text); }

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

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

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

.legal-page p {
  color: var(--text-soft);
}

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

  .moon { max-width: 360px; }

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

  .door { height: 300px; }

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

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

  .nav-burger span {
    display: block;
    height: 2px;
    width: 24px;
    margin-inline: auto;
    background: var(--text);
    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(--cream);
    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; }

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

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

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

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

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

  .fact { min-width: 0; padding: 0.7rem 0.9rem; }
  .fact strong { font-size: 1.05rem; }
  .fact--a { left: 0; }
  .fact--b { right: 0; }

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

  .door__frame { width: 160px; height: 260px; }
}

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