:root {
  --cream: #faf6ec;
  --cream-2: #f1eadc;
  --ink: #211a12;
  --ink-soft: #665a49;
  --brand: #c2471f;
  --brand-dark: #9b3512;
  --green: #52673f;
  --gold: #c69a4b;
  --dark: #191410;
  --dark-2: #241c15;
  --line: rgba(33, 26, 18, 0.14);
  --line-light: rgba(250, 246, 236, 0.16);
  --shadow: 0 20px 50px -18px rgba(33, 26, 18, 0.35);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brand); color: var(--cream); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: #c8b99e; border-radius: 8px; border: 2px solid var(--cream-2); }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.container { max-width: 1188px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow .icon { width: 15px; height: 15px; flex: none; }
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 0.9rem 0 1.1rem; }
.section-title em { font-style: italic; font-weight: 600; color: var(--brand); }
.section-lead { color: var(--ink-soft); max-width: 560px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-lead { margin-inline: auto; }
.center .eyebrow::after {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

/* ---------- topo ---------- */

/* ---------- header ---------- */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s,
    padding 0.4s;
  padding: 1.15rem 0;
}
header.scrolled {
  background: rgba(25, 20, 16, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  padding: 0.65rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--cream);
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.logo .mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 6px 16px -6px rgba(194, 71, 31, 0.7);
  transition: transform 0.4s var(--ease);
}
.logo:hover .mark { transform: rotate(-12deg) scale(1.06); }
.logo .mark svg { width: 20px; height: 20px; color: var(--cream); }
.logo small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
nav.desktop { display: flex; gap: 1.9rem; }
nav.desktop a {
  color: rgba(250, 246, 236, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}
nav.desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
nav.desktop a:hover::after,
nav.desktop a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}
nav.desktop a.active { color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1002;
}
.burger span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: 0.35s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.3s,
    color 0.3s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.96); }
.btn-primary { background: var(--brand); color: var(--cream); box-shadow: 0 12px 26px -10px rgba(194, 71, 31, 0.65); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(155, 53, 18, 0.7); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.38) 50%, transparent 58%);
  transform: translateX(-130%);
}
.btn-primary:hover::after { transform: translateX(130%); transition: transform 0.7s var(--ease); }
.btn-ghost { border: 1.5px solid rgba(250, 246, 236, 0.45); color: var(--cream); }
.btn-ghost:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.55);
}
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--brand); transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(194, 71, 31, 0.6); }
.btn-sm { padding: 0.68rem 1.4rem; font-size: 0.88rem; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/portfolio/massa-madre/images/pizza-margherita.webp") 72% center/cover no-repeat;
  animation: kenburns 22s var(--ease) infinite alternate;
  transform-origin: center;
}
@keyframes kenburns {
  from { transform: scale(1.06); }
  to { transform: scale(1.18) translateY(-1.5%); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(17, 12, 8, 0.95) 0%, rgba(17, 12, 8, 0.82) 42%, rgba(17, 12, 9, 0.42) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  z-index: 1;
  background: linear-gradient(to top, rgba(25, 20, 16, 1), transparent);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
  max-width: 720px;
  padding: 8rem 0 7rem;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.2rem);
  font-weight: 900;
  margin: 1.2rem 0 1.3rem;
  text-wrap: balance;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.55);
}
.hero h1 em { font-style: italic; font-weight: 600; color: var(--gold); }
.hero p {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(250, 246, 236, 0.92);
  max-width: 540px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.3rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.6rem;
  margin-top: 2.7rem;
  font-size: 0.9rem;
  color: rgba(250, 246, 236, 0.85);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
.hero-meta .stars { display: flex; gap: 0.15rem; color: var(--gold); }
.hero-meta .stars svg { width: 16px; height: 16px; fill: currentColor; }
.hero-meta .sep { width: 1px; height: 18px; background: rgba(250, 246, 236, 0.3); }
.hero-meta strong { color: var(--cream); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 246, 236, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.scroll-cue svg { width: 20px; height: 20px; animation: bounce 1.8s infinite; }
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% { transform: translateY(8px); opacity: 0.55; }
}
.reveal-onload { opacity: 0; transform: translateY(30px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.3s; }
.d3 { animation-delay: 0.45s; }
.d4 { animation-delay: 0.6s; }
.d5 { animation-delay: 0.75s; }
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--dark);
  color: var(--cream);
  overflow: hidden;
  padding: 1.15rem 0;
  border-block: 1px solid var(--line-light);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list {
  display: flex;
  align-items: center;
  gap: 3.2rem;
  padding-right: 3.2rem;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(250, 246, 236, 0.85);
  white-space: nowrap;
}
.marquee-list svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="zoom"] { transform: scale(0.9); }
.revealed { opacity: 1; transform: none !important; }

/* ---------- sobre ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-copy p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about-quote {
  margin: 1.8rem 0 1.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--cream-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}
.about-quote footer {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.8rem;
}
.about-media { position: relative; }
.about-media .main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/4.6;
  object-fit: cover;
  width: 100%;
}
.about-media .overlay-img {
  position: absolute;
  width: 52%;
  left: -3rem;
  bottom: -2.6rem;
  border-radius: var(--radius);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
  aspect-ratio: 1;
  object-fit: cover;
}
.float-badge {
  position: absolute;
  top: -1.4rem;
  right: -1.2rem;
  background: var(--dark-2);
  color: var(--cream);
  border-radius: 16px;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.float-badge svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
  flex: none;
}
.float-badge strong {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  display: block;
  line-height: 1.1;
}
.float-badge span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.65);
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% { transform: translateY(-12px); }
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.stat b {
  font-family: "Fraunces", serif;
  font-size: clamp(3rem, 5.5vw, 4.3rem);
  font-weight: 900;
  color: var(--brand);
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.stat b small { font-size: 55%; font-weight: 700; margin-left: 0.15rem; }
.stat span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.stat b .counter {
  display: inline;
  margin: 0;
  font: inherit;
  letter-spacing: normal;
  color: inherit;
}

/* ---------- cardápio ---------- */
.menu { background: var(--cream-2); }
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 2.4rem 0 3rem;
}
.filter-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  transition: 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.filter-btn.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 0 10px 22px -10px rgba(33, 26, 18, 0.5);
}
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.pizza-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px -14px rgba(33, 26, 18, 0.25);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    opacity 0.4s;
  display: flex;
  flex-direction: column;
}
.pizza-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pizza-card.hide { opacity: 0; transform: scale(0.9); pointer-events: none; }
.pizza-fig { position: relative; overflow: hidden; aspect-ratio: 16/11; }
.pizza-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.pizza-card:hover .pizza-fig img { transform: scale(1.09); }
.pizza-fig .price-chip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--cream);
  color: var(--brand);
  font-family: "Fraunces", serif;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.45);
}
.pizza-fig .tag {
  position: absolute;
  left: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(25, 20, 16, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.pizza-fig .tag svg { width: 13px; height: 13px; }
.pizza-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.pizza-body h3 {
  font-size: 1.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.pizza-body h3 .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-5px); }
.pizza-body p { color: var(--ink-soft); font-size: 0.92rem; }
.price-list {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  background: var(--dark);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
}
.price-list h3 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.price-list h3 svg { width: 19px; height: 19px; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-size: 0.98rem;
}
.price-list li .dots { flex: 1; border-bottom: 1.5px dotted var(--line-light); transform: translateY(-5px); }
.price-list li b {
  font-family: "Fraunces", serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.02rem;
}
.price-list li span em {
  font-style: italic;
  color: rgba(250, 246, 236, 0.55);
  font-size: 0.82rem;
  margin-left: 0.4rem;
}
.price-cat { margin-top: 2.2rem; }
.price-cat:first-child { margin-top: 0; }
.price-note {
  margin-top: 1.8rem;
  font-size: 0.82rem;
  color: rgba(250, 246, 236, 0.55);
  font-style: italic;
}

/* ---------- galeria ---------- */
.gallery { background: var(--cream); }
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 1.1rem;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gal-item:hover img { transform: scale(1.08); }
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 9, 0.72), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s;
}
.gal-item:hover::after { opacity: 1; }
.gal-item .cap {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transform: translateY(12px);
  opacity: 0;
  transition: 0.5s var(--ease);
}
.gal-item:hover .cap { transform: none; opacity: 1; }
.gal-item .cap svg { width: 16px; height: 16px; color: var(--gold); }
.gal-item.tall { grid-row: span 2; }
.gal-item.wide { grid-column: span 2; }
.gal-cta {
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.gal-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 0.8s var(--ease);
}
.gal-cta:hover::after { transform: translateX(130%); }
.gal-cta h3 { font-size: 1.3rem; line-height: 1.25; }
.gal-cta p { font-size: 0.88rem; color: rgba(250, 246, 236, 0.85); }
.gal-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-bottom: 2px solid rgba(250, 246, 236, 0.5);
  padding-bottom: 0.2rem;
  transition:
    border-color 0.3s,
    gap 0.3s;
}
.gal-cta a:hover { border-color: var(--cream); gap: 0.8rem; }
.gal-cta svg { width: 16px; height: 16px; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(18, 13, 9, 0.92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox figcaption {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  max-width: 80vw;
  text-align: center;
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(250, 246, 236, 0.12);
  border: 1px solid rgba(250, 246, 236, 0.3);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: 0.3s;
}
.lb-btn:hover { background: var(--brand); border-color: var(--brand); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: 1.6rem; }
.lb-next { right: 1.6rem; }
.lb-close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(250, 246, 236, 0.12);
  border: 1px solid rgba(250, 246, 236, 0.3);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: 0.3s;
}
.lb-close:hover { background: var(--brand); border-color: var(--brand); transform: rotate(90deg); }
.lb-close svg { width: 20px; height: 20px; }

/* ---------- depoimentos ---------- */
.testimonials { background: var(--dark); color: var(--cream); overflow: hidden; }
.testimonials::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 71, 31, 0.22), transparent 70%);
  pointer-events: none;
}
.testimonials .eyebrow { color: var(--gold); }
.testimonials .section-lead { color: rgba(250, 246, 236, 0.72); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}
.testi-card {
  background: var(--dark-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.9rem 2rem;
  position: relative;
  transition:
    transform 0.45s var(--ease),
    border-color 0.45s;
}
.testi-card:hover { transform: translateY(-6px); border-color: rgba(198, 154, 75, 0.55); }
.testi-card .quote-ic {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  width: 34px;
  height: 34px;
  color: rgba(198, 154, 75, 0.28);
}
.testi-card .stars {
  display: flex;
  gap: 0.2rem;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.testi-card .stars svg { width: 15px; height: 15px; fill: currentColor; }
.testi-card p { color: rgba(250, 246, 236, 0.85); font-size: 0.98rem; margin-bottom: 1.4rem; }
.testi-card .who { display: flex; align-items: center; gap: 0.9rem; }
.testi-card .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.testi-card .who b { display: block; font-size: 0.95rem; }
.testi-card .who span { font-size: 0.78rem; color: rgba(250, 246, 236, 0.55); letter-spacing: 0.06em; }
.testi-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.3rem 2rem;
  background: rgba(198, 154, 75, 0.1);
  border: 1px solid rgba(198, 154, 75, 0.35);
  border-radius: 999px;
  width: fit-content;
  margin-inline: auto;
  color: var(--gold);
}
.testi-badge svg { width: 20px; height: 20px; fill: currentColor; }
.testi-badge b { color: var(--cream); }

/* ---------- espaço ---------- */
.space { background: var(--cream-2); }
.space-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: stretch;
}
.space-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow);
}
.space-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.space-media:hover img { transform: scale(1.05); }
.space-media .chip {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  background: rgba(25, 20, 16, 0.85);
  backdrop-filter: blur(6px);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
}
@media (max-width: 560px) {
  .space-media .chip { border-radius: 14px; font-size: 0.8rem; }
}
.space-media .chip svg { width: 16px; height: 16px; color: var(--gold); }
.space-info {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  justify-content: center;
}
.info-block {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem 1.7rem;
  display: flex;
  gap: 1.1rem;
  box-shadow: 0 8px 24px -16px rgba(33, 26, 18, 0.3);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}
.info-block:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.info-block .ic {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: rgba(194, 71, 31, 0.12);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.info-block > div:not(.ic) { min-width: 0; overflow-wrap: anywhere; }
.info-block .ic svg { width: 21px; height: 21px; }
.info-block b {
  font-family: "Fraunces", serif;
  font-size: 1.12rem;
  display: block;
  margin-bottom: 0.25rem;
}
.info-block p { color: var(--ink-soft); font-size: 0.93rem; }
.info-block li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.info-block li:last-child { border-bottom: none; }
.info-block li b {
  font-family: "Inter", sans-serif;
  font-size: 0.93rem;
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}
.amenities { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.amenities span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.amenities svg { width: 15px; height: 15px; color: var(--green); }

/* ---------- contato ---------- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  margin-top: 3rem;
  align-items: start;
}
.contact-grid > *,
.field {
  min-width: 0;
}
.form-card {
  background: var(--cream-2);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: 0 10px 34px -18px rgba(33, 26, 18, 0.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { position: relative; margin-bottom: 1.15rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 1.05rem 1.1rem 0.55rem;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  font-size: 0.95rem;
}
.field textarea { min-height: 110px; resize: vertical; padding-top: 1.25rem; }
.field label {
  position: absolute;
  left: 1.1rem;
  top: 0.95rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  pointer-events: none;
  transition: 0.25s var(--ease);
}
.field:focus-within label,
.field.filled label {
  top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(194, 71, 31, 0.12);
}
.field select { appearance: auto; background-repeat: no-repeat; background-position: right 1rem center; }
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.form-foot small { color: var(--ink-soft); font-size: 0.78rem; font-style: italic; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success .ok {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  color: var(--cream);
  animation: pop 0.5s var(--ease);
}
.form-success .ok svg { width: 34px; height: 34px; }
@keyframes pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.form-success h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.form-success p { color: var(--ink-soft); }
.demo-note {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.lightbox[hidden] { display: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
[data-reveal]:focus-within { opacity: 1; transform: none; transition-delay: 0s !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.gal-item:focus-visible .cap { transform: none; opacity: 1; }
@media (max-width: 1024px) {
  html:not(.js) header { position: relative; background: var(--dark); }
  html:not(.js) nav.desktop {
    position: static;
    transform: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: var(--dark);
  }
  html:not(.js) .burger { display: none; }
}
@font-face {
  font-family: Fraunces;
  src: url("/portfolio/massa-madre/fonts/fraunces.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/portfolio/massa-madre/fonts/fraunces-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/portfolio/massa-madre/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.contact-side { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-side .info-block { background: var(--cream-2); box-shadow: none; border: 1px solid var(--line); }
.social-row { display: flex; gap: 0.8rem; }
.social-row span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
}
.social-row svg { width: 19px; height: 19px; }

/* ---------- footer ---------- */
footer.site { background: var(--dark); color: rgba(250, 246, 236, 0.78); padding: 4.5rem 0 2.2rem; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--line-light);
}
.foot-brand .logo { font-size: 1.5rem; margin-bottom: 1rem; }
.foot-brand p { font-size: 0.92rem; max-width: 300px; margin-bottom: 1.4rem; }
footer.site h4 {
  font-family: "Fraunces", serif;
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
footer.site ul li { margin-bottom: 0.55rem; font-size: 0.9rem; }
footer.site ul a {
  transition:
    color 0.3s,
    padding-left 0.3s;
}
footer.site ul a:hover { color: var(--gold); padding-left: 6px; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.8rem;
  color: rgba(250, 246, 236, 0.55);
}

/* ---------- voltar ao topo ---------- */
#toTop {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  z-index: 800;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: 0.4s var(--ease);
}
#toTop.show { opacity: 1; pointer-events: auto; transform: none; }
#toTop:hover { background: var(--brand); transform: translateY(-4px); }
#toTop svg { width: 20px; height: 20px; }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  header.menu-open { backdrop-filter: none; }
  nav.desktop {
    position: fixed;
    inset: 0;
    background: rgba(25, 20, 16, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.6rem;
    padding: 88px 24px 24px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.5s var(--ease);
    z-index: 1001;
  }
  nav.desktop.open { transform: none; }
  nav.desktop a {
    font-size: 1.5rem;
    font-family: "Fraunces", serif;
    flex: none;
    opacity: 0;
    transform: translateY(16px);
    transition: 0.5s var(--ease);
  }
  nav.desktop a:first-child { margin-top: auto; }
  nav.desktop a:last-child { margin-bottom: auto; }
  nav.desktop.open a { opacity: 1; transform: none; }
  .burger { display: flex; }
  .header-cta .btn { display: none; }
  .about-grid,
  .space-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-media { margin-bottom: 3rem; margin-left: 2.5rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .price-list { grid-template-columns: 1fr; }
  .float-badge { right: 0.4rem; }
  .hero-content { padding: 7rem 0 6rem; }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-foot .btn { padding-inline: 16px; white-space: nowrap; }
  .gal-grid { grid-auto-rows: 200px; }
  .gal-item.wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 0.8rem; }
  .hero-meta .sep { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .lb-prev { left: 0.6rem; }
  .lb-next { right: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
