/* Moon Vista Rooftop — design tokens
   Clone visual fiel ao site WordPress original. */

/* === Fontes proprietárias do cliente === */
@font-face {
  font-family: "Jaoren";
  src: url("../fonts/Jaoren.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EDLavonia";
  src: url("../fonts/EDLavonia-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EDLavonia";
  src: url("../fonts/SebastianBobby-Slanted.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:           #0a0a0a;
  --ink-soft:      #141414;
  --ink-deep:      #050505;
  --cream-light:   #f1ead8;
  --cream:         #f5f0e8;
  --offwhite:      #f2f2f2;
  --white:         #ffffff;
  --text-dark:     #333333;
  --text-on-dark:  #f5f0e8;
  --text-muted:    #888888;
  --border-light:  #e5e5e5;
  --border-pill:   #d6d6d6;

  --max-w:         1240px;
  --gutter:        clamp(16px, 4vw, 40px);

  --font-display:  "Jaoren", "Playfair Display", Georgia, serif;
  --font-script:   "EDLavonia", "Dancing Script", "Brush Script MT", cursive;
  --font-sans:     "Fira Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease:          cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 200ms var(--ease), color 200ms var(--ease);
}
a:hover { opacity: 0.7; }

img, svg { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input, select, textarea { font: inherit; color: inherit; }

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  z-index: 100;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 8px; opacity: 1; }

/* ============ Header ============ */
.site-header {
  background: var(--ink);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  min-height: 112px;
}
.site-header .brand img {
  height: 72px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  gap: clamp(20px, 3vw, 38px);
}
.site-nav a {
  color: var(--text-on-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 8px 0;
  position: relative;
}
.site-nav a:hover { color: var(--cream); opacity: 1; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 250ms var(--ease), opacity 200ms var(--ease);
  margin-inline: auto;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-header .brand img { height: 52px; }
  .site-header__inner { min-height: 100px; padding-block: 16px; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(82%, 340px);
    background: var(--ink-deep);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 2.2rem;
    gap: 26px;
    transform: translateX(110%);
    transition: transform 350ms var(--ease);
    z-index: 90;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { font-size: 17px; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 38px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  transition: background 250ms var(--ease), color 250ms var(--ease);
}
.btn:hover { background: var(--cream); color: var(--ink); opacity: 1; }
.btn--solid {
  background: var(--cream);
  color: var(--ink);
}
.btn--solid:hover {
  background: var(--white);
  color: var(--ink);
}
.btn--dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--dark:hover {
  background: var(--ink);
  color: var(--cream);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--offwhite);
  color: var(--text-dark);
  padding-block: 60px 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 860px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
.site-footer__col h3 {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 22px;
  letter-spacing: 0;
}
.site-footer__col p {
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.footer-address {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.footer-address img {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}
.footer-address-text { font-size: 15px; }
.footer-hours p { margin-bottom: 4px; }
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.footer-social a:hover { opacity: 1; background: var(--text-dark); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }

.footer-map {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  margin-bottom: 30px;
  background: #e5e5e5;
}

.site-footer__bottom {
  background: var(--offwhite);
  border-top: 1px solid #e0e0e0;
  padding: 18px 0;
  font-size: 13px;
  color: #666;
}
.site-footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__bottom a { color: #666; }
.site-footer__bottom-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
}

/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 80;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.wa-float:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.wa-float svg { width: 30px; height: 30px; }

/* ============ Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
