/* =========================================
   BELLA FESTAS — Mini-site interativo
   ========================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #fbf7f2;
  --cream-2: #f3ece1;
  --ink: #1a1815;
  --ink-soft: #4a463f;
  --gold: #b89968;
  --gold-light: #d9c4a0;
  --rose: #e8d5d0;
  --line: #e8e0d2;
  --shadow: 0 10px 40px rgba(26, 24, 21, 0.08);
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--cream);
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ========== APP SHELL ========== */
.app {
  height: 100vh;
  height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
  background: var(--cream);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,0,0,.08);
}

@media (min-width: 521px) {
  body { background: linear-gradient(135deg, #2a2520, #1a1815); }
  .app { border-left: 1px solid rgba(255,255,255,.05); border-right: 1px solid rgba(255,255,255,.05); }
}

/* ========== TOP BAR ========== */
.topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8a6f3f);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Italianno', cursive;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(184, 153, 104, .4);
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 500; letter-spacing: .5px; }
.brand-sub { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

.menu-btn {
  width: 38px; height: 38px;
  display: grid; gap: 5px; place-content: center;
  border-radius: 50%;
  transition: background .2s;
}
.menu-btn:hover { background: var(--cream-2); }
.menu-btn span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  transition: all .3s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ========== SIDE MENU ========== */
.side-menu {
  position: absolute;
  top: 75px;
  right: 0;
  width: 100%;
  max-width: 320px;
  background: var(--ink);
  color: var(--cream);
  padding: 30px 28px;
  z-index: 40;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.7,0,.3,1);
  border-radius: 20px 0 0 20px;
  box-shadow: -10px 0 30px rgba(0,0,0,.2);
}
.side-menu.open { transform: translateX(0); }

.side-menu ul li {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: color .2s, padding .3s;
}
.side-menu ul li span {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
}
.side-menu ul li:hover { color: var(--gold-light); padding-left: 6px; }

.menu-foot { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.menu-foot p { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: .5; margin-bottom: 6px; }
.menu-foot a { color: var(--gold-light); font-family: 'Cormorant Garamond', serif; font-size: 20px; }

/* ========== SCREENS ========== */
.screens {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.screen {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px 22px 110px;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: opacity .35s, transform .4s cubic-bezier(.4,0,.2,1);
  -webkit-overflow-scrolling: touch;
}

.screen.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* Scrollbar hide */
.screen::-webkit-scrollbar { width: 0; }

/* ========== SHARED ========== */
.eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.screen-head {
  margin-bottom: 24px;
  padding-top: 8px;
}
.screen-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}
.head-sub { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.head-sub strong { color: var(--ink); }

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(184,153,104,.3); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 14px 26px;
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  transition: all .3s;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* ========== HOME ========== */
.hero-mini { padding-top: 10px; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 400;
  margin: 8px 0 16px;
  letter-spacing: -0.5px;
}
.hero-title em {
  font-family: 'Italianno', cursive;
  font-style: normal;
  font-size: 1.4em;
  color: var(--gold);
  font-weight: 400;
}

.hero-sub {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 26px;
  padding: 18px;
  background: var(--cream-2);
  border-radius: 16px;
}
.quick-stats > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.quick-stats strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--gold);
}
.quick-stats span {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.hero-actions button { flex: 1; min-width: 140px; }

.hero-strip {
  background: var(--ink);
  color: var(--cream);
  margin: 0 -22px;
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.strip-track {
  display: flex;
  gap: 30px;
  animation: scroll-x 25s linear infinite;
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
}
.strip-track span { color: var(--gold-light); }
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ========== SERVIÇOS ========== */
.service-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -22px 20px;
  padding: 0 22px 4px;
  scroll-snap-type: x mandatory;
}
.service-tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--cream-2);
  font-size: 12px;
  letter-spacing: .5px;
  font-weight: 500;
  transition: all .3s;
  scroll-snap-align: start;
}
.tab.active {
  background: var(--ink);
  color: var(--cream);
}

.service-content { position: relative; }
.service-panel {
  display: none;
  animation: fadeUp .4s ease;
}
.service-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  margin-bottom: 18px;
}
.service-panel h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}
.service-panel > p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}
.service-panel ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.service-panel ul li {
  font-size: 13px;
  color: var(--ink);
  padding: 8px 12px;
  background: var(--cream-2);
  border-radius: 8px;
}
.price {
  text-align: center;
  padding: 14px;
  border: 1px dashed var(--gold);
  border-radius: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.price strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  margin-left: 6px;
  text-transform: none;
  letter-spacing: 0;
}

/* ========== GALERIA ========== */
.gallery-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -22px 18px;
  padding: 0 22px 4px;
}
.gallery-filters::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .5px;
  transition: all .3s;
}
.chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 130px;
  gap: 8px;
}
.g-item {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .3s, opacity .3s;
  position: relative;
}
.g-item:nth-child(3n+1) { grid-row: span 2; }
.g-item:active { transform: scale(.97); }
.g-item.hidden { display: none; }

/* ========== ORÇAMENTO / WIZARD ========== */
.wizard {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.progress-bar {
  flex: 1;
  height: 4px;
  background: var(--cream-2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold), #d4af6a);
  transform: translateX(var(--progress, -100%));
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.progress-text {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.step {
  display: none;
  animation: fadeUp .4s ease;
}
.step.active { display: block; }
.step h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 18px;
  text-align: center;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.options-grid.two { grid-template-columns: repeat(2, 1fr); }

.option {
  padding: 16px 10px;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  transition: all .25s;
}
.opt-icon { font-size: 24px; }
.option:hover { transform: translateY(-2px); }
.option.selected {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(184,153,104,.2);
}

/* Slider */
.slider-box {
  background: var(--cream);
  padding: 24px 18px;
  border-radius: 14px;
  margin-bottom: 18px;
}
.slider-value {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 14px;
}
.slider-value span { font-weight: 600; }
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 4px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--gold);
}
.slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--ink-soft);
}

.date-input { display: flex; flex-direction: column; gap: 8px; }
.date-input label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.date-input input {
  padding: 14px;
  background: var(--cream);
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.text-inputs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.text-inputs input {
  padding: 14px 16px;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.text-inputs input:focus { border-color: var(--gold); }

.summary {
  background: var(--cream-2);
  padding: 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.summary strong { color: var(--ink); display: block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }

.step.success {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold), #d4af6a);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 40px;
  animation: pop .5s ease;
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.step.success p { font-size: 14px; color: var(--ink-soft); margin: 12px 0 22px; line-height: 1.6; }

.wizard-nav {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.wizard-nav button { flex: 1; padding: 13px 20px; font-size: 12px; }
.wizard-nav button:disabled { opacity: .35; cursor: not-allowed; }

/* ========== CONTATO ========== */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.c-card.no-link { cursor: default; }
.c-card:hover:not(.no-link) {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(26,24,21,.12);
}
.c-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--cream-2);
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}
.c-icon svg { width: 22px; height: 22px; }
.c-card.whatsapp .c-icon { background: #25d366; color: #fff; }
.c-card.instagram .c-icon { background: linear-gradient(135deg,#feda75,#fa7e1e,#d62976,#962fbf); color: #fff; }

.c-card > div:nth-child(2) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.c-card strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-card span:not(.c-arrow) { font-size: 11px; color: var(--ink-soft); letter-spacing: .5px; }
.c-arrow { color: var(--gold); font-size: 18px; }

.map-mini {
  margin-top: 18px;
  padding: 24px;
  background: linear-gradient(135deg, #2a2520, var(--ink));
  color: var(--cream);
  border-radius: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.map-mini::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.map-pin { font-size: 32px; margin-bottom: 8px; position: relative; animation: bounce 2s ease infinite; }
.map-mini p { font-size: 13px; position: relative; opacity: .85; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ========== BOTTOM NAV ========== */
.bottom-nav {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 10px 12px 14px;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  z-index: 30;
  position: relative;
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  font-size: 9px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .2s;
  position: relative;
}
.nav-item svg { width: 22px; height: 22px; }
.nav-item.active { color: var(--ink); }
.nav-item.active::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.nav-cta {
  margin-top: -22px;
}
.cta-circle {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--gold), #8a6f3f);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 300;
  box-shadow: 0 8px 20px rgba(184,153,104,.4);
  margin-bottom: 4px;
  transition: transform .3s;
}
.nav-cta:active .cta-circle { transform: scale(.92); }
.nav-cta.active .cta-circle { transform: rotate(45deg); }

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, .95);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 20px; right: 20px; font-size: 30px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 13px;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========== TINY SCREEN ADJUSTS ========== */
@media (max-height: 700px) {
  .hero-title { font-size: 36px; }
  .quick-stats { padding: 14px; }
  .quick-stats strong { font-size: 18px; }
}