/* ===============================
   LUME — Restaurante
   CSS Refatorado (mesmo visual)
   =============================== */

/* ========= Root ========= */
:root {
  --bg: #F7F5F0;
  --bg-alt: #EFEBE1;
  --ink: #2C1E16;
  --ink-soft: #5C4A3D;
  --wine: #722F37;
  --wine-dark: #5E2129;
  --line: #DCD5C6;
  --footer-bg: #1A110B;
  --footer-ink: #F7F5F0;

  --container: 1440px;

  --space-xs: 10px;
  --space-sm: 20px;
  --space-md: 28px;
  --space-lg: 44px;
  --space-xl: 64px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  --radius-pill: 999px;

  --ease: .35s ease;
  --ease-slow: .9s ease;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

/* ========= Base ========= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-md);
}

.section--alt {
  background: var(--bg-alt);
}

.section--alt > .container {
  padding: 0 var(--space-md);
}

.overline {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wine);
}

.title-xl {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.015em;
}

.body-lg {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}

.ink-wine {
  color: var(--wine);
  font-style: italic;
  font-weight: 300;
}

/* ========= Buttons ========= */
.btn-wine,
.btn-ghost {
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: all var(--ease);
}

.btn-wine {
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--bg);
}

.btn-wine:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  letter-spacing: 0.3em;
}

.btn-wine:active {
  transform: scale(0.98);
}

.btn-ghost {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ========= Header ========= */
.lume-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(247, 245, 240, 0.72);
  border-bottom: 1px solid rgba(220, 213, 198, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lume-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--space-md);
}

.lume-logo {
  color: var(--ink);
  font-size: 1.9rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: 0.32em;
}

.lume-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.lume-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color var(--ease);
}

.lume-nav a:hover {
  color: var(--wine);
}

.lume-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--wine);
  transition: right var(--ease);
}

.lume-nav a:hover::after {
  right: 0;
}

/* ========= Mobile Nav ========= */
.lume-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.lume-burger:hover {
  background: var(--bg-alt);
}

.lume-mobile-panel {
  display: none;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  padding: 0 var(--space-md);
  background: rgba(247, 245, 240, 0.98);
  border-bottom: 1px solid rgba(220, 213, 198, 0.5);
  backdrop-filter: blur(14px);
  transition: max-height .45s ease, padding .45s ease;
}

.lume-mobile-panel.is-open {
  max-height: 460px;
  padding: 12px var(--space-md) 24px;
}

.lume-mobile-panel a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.lume-mobile-panel a:hover {
  color: var(--wine);
}

.lume-mobile-panel .btn-wine {
  margin-top: 18px;
  align-self: flex-start;
}

/* ========= Hero ========= */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  padding: 140px var(--space-md) var(--space-2xl);
  overflow: hidden;
}

.hero__slides,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__slides {
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  background-size: cover;
  background-position: center;
  transition: opacity 1.6s ease, transform 8s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__veil {
  z-index: 1;
  background: linear-gradient(180deg, rgba(26,17,11,0.35) 0%, rgba(26,17,11,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  color: var(--bg);
}

.hero__kicker,
.hero__sub {
  color: #EFEBE1;
}

.hero h1 {
  margin: 22px 0 34px;
  max-width: 14ch;
  color: #FAF8F3;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero h1 em {
  color: #E8D5B5;
  font-style: italic;
  font-weight: 300;
}

.hero__sub {
  max-width: 46ch;
  margin: 0;
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.hero .btn-ghost {
  color: var(--bg);
  border-color: var(--bg);
}

.hero .btn-ghost:hover {
  background: var(--bg);
  color: var(--ink);
}

.hero__dots {
  display: flex;
  gap: 10px;
  margin-top: 56px;
}

.hero__dot {
  width: 28px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(247, 245, 240, 0.35);
  transition: all var(--ease);
}

.hero__dot.is-active {
  width: 48px;
  background: var(--bg);
}

/* ========= About ========= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.about-meta span {
  display: block;
  color: var(--wine);
  font-size: 2.2rem;
  font-family: 'Cormorant Garamond', serif;
}

.about-meta p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ========= Menu ========= */
.menu-intro {
  max-width: 720px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 64px;
}

.dish {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}

.dish__img-wrap {
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  overflow: hidden;
}

.dish__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.dish:hover .dish__img {
  transform: scale(1.06);
}

.dish__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.dish__name,
.dish__price {
  font-family: 'Cormorant Garamond', serif;
}

.dish__name {
  margin: 0;
  color: var(--ink);
  font-size: 1.9rem;
}

.dish__price {
  color: var(--wine);
  font-size: 1.3rem;
  white-space: nowrap;
}

.dish__desc {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.dish__tag {
  display: inline-block;
  margin-top: 12px;
  color: var(--wine);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ========= Reserve ========= */
.reserve {
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) var(--space-md);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}

.reserve h2 {
  margin: 18px auto 24px;
  max-width: 20ch;
  color: #FAF8F3;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.05;
}

.reserve > p {
  max-width: 56ch;
  margin: 0 auto;
  color: #DCD5C6;
  font-size: 1.02rem;
  line-height: 1.75;
}

.reserve__note {
  margin-top: 28px;
  color: #8A7560;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.reserve-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 760px;
  margin: 44px auto 0;
  text-align: left;
}

.rf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.rf-row:nth-of-type(2) {
  grid-template-columns: 0.7fr 1fr 1fr;
}

.reserve-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reserve-form span {
  color: #8A7560;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reserve-form input {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 240, 0.25);
  background: transparent;
  color: var(--bg);
  font-size: 1.15rem;
  font-family: 'Cormorant Garamond', serif;
  outline: none;
}

.reserve-form input::placeholder {
  color: rgba(247, 245, 240, 0.35);
}

.reserve-form input:focus {
  border-color: var(--wine);
}

.reserve-form .btn-wine {
  align-self: center;
  margin-top: 10px;
}

.reserve-msg {
  min-height: 1.2em;
  color: #C9A96E;
  font-size: 0.85rem;
  text-align: center;
}

.reserve-msg.is-error {
  color: #E8A8A8;
}

/* ========= Contact ========= */
.contacto-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:first-of-type {
  border-top: 1px solid var(--line);
}

.contact-item__icon {
  flex-shrink: 0;
  margin-top: 6px;
  color: var(--wine);
}

.contact-item__label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contact-item__value {
  display: block;
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
}

a.contact-item__value:hover {
  color: var(--wine);
}

.map-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-alt);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(0.95);
}

/* ========= Footer ========= */
.lume-footer {
  padding: 80px var(--space-md) 36px;
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-inner h4 {
  margin: 0 0 20px;
  color: #8A7560;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.footer-inner a {
  color: #DCD5C6;
  font-size: 0.95rem;
}

.footer-inner a:hover {
  color: var(--footer-ink);
}

.footer-logo {
  color: var(--footer-ink);
  font-size: 2.4rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.3em;
}

.footer-tag {
  max-width: 36ch;
  margin-top: 16px;
  color: #8A7560;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact {
  margin-top: 22px;
  color: #8A7560;
  font-size: 0.85rem;
}

.social-row {
  display: flex;
  gap: 14px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(247, 245, 240, 0.18);
  border-radius: var(--radius-pill);
}

.social-row a:hover {
  background: var(--footer-ink);
  color: var(--wine);
  border-color: var(--footer-ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--container);
  margin: 60px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(247, 245, 240, 0.08);
  color: #8A7560;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ========= Reveal ========= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--ease-slow), transform var(--ease-slow);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }
.reveal.delay-4 { transition-delay: .4s; }

/* ========= Responsive ========= */
@media (max-width: 860px) {
  .lume-header__inner {
    padding: 14px 18px;
  }

  .lume-nav {
    display: none;
  }

  .lume-burger {
    display: inline-flex;
  }

  .lume-mobile-panel {
    display: flex;
  }

  .section,
  .reserve {
    padding: var(--space-2xl) var(--space-sm);
  }

  .section--alt > .container {
    padding: 0 var(--space-sm);
  }

  .hero {
    padding: 110px var(--space-sm) 60px;
  }

  .about-grid,
  .menu-grid,
  .contact-grid,
  .footer-inner,
  .rf-row,
  .rf-row:nth-of-type(2) {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .about-meta {
    gap: 24px;
  }
}

/* =========================
   LIVRO MENU
========================= */

.menu-book {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px;
  perspective: 1200px;
}

.book {
  position: relative;
  width: 340px;
  height: 480px;
  transform-style: preserve-3d;
}

.book-cover {
  position: absolute;
  inset: 0;
  z-index: 2;

  overflow: hidden;

  width: 340px;
  height: 480px;

  background: linear-gradient(
    145deg,
    #0f0f0f 0%,
    #1b1b1b 50%,
    #0a0a0a 100%
  );

  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  cursor: pointer;

  box-shadow:
    0 40px 100px rgba(0,0,0,.65),
    inset 0 0 0 1px rgba(255,255,255,.04);

  transform-style: preserve-3d;
  transition: transform .5s ease, box-shadow .5s ease;
}

/* hover 3D real */
.book-cover:hover {
  transform:
    translateY(-12px)
    scale(1.03);

  box-shadow:
    0 60px 140px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(255,255,255,.06);
}

/* moldura dourada interna */
.book-cover::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  border-radius: 6px;
  pointer-events: none;
}

/* título */
.book-cover h3 {
  margin: 0;
  color: #C9A96E;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.2rem;
  font-weight: 300;
  letter-spacing: 10px;
}

/* subtítulo */
.book-cover p {
  margin: 10px 0 0;
  color: #F7F5F0;
  font-size: .9rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: .85;
}

/* pequeno texto inferior */
.book-cover span {
  position: absolute;
  bottom: 32px;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.book-inside {
  position: absolute;
  inset: 0;

  background: #F7F5F0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border-radius: 10px;

  padding: 40px;
  box-sizing: border-box;

  z-index: 1;

  overflow: hidden;
}

.book-inside h2 {
  color: #2C1E16;
  font-size: 2rem;
  margin-bottom: 15px;
}

.book-inside p {
  color: #5a4637;
  font-size: 1rem;
}
.book-cover {
  transform-origin: left center;
}

.book.open .book-cover {
  transform: rotateY(-160deg);
}

.book.open .book-inside {
  z-index: 3;
}