/* ================================================================
   BRUNCH NO JARDIM — styles.css
   ================================================================ */

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

:root {
  --cream: #F0EDE8;
  --cream-light: #F7F4F0;
  --blue: #4A6FA5;
  --blue-dark: #3A5A8A;
  --orange: #F0A500;
  --orange-light: #F5C040;
  --white: #FEFCF9;
  --text: #2A2A2A;
  --text-mid: #555;
  --text-light: #888;
  --border: #DDD8D0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

/* ── SCREENS ── */
.screen { display: none; min-height: 100vh; flex-direction: column; }
.screen.active { display: flex; }

/* ── HEADER ── */
.site-header {
  background: #fff;
  border-bottom: 2px solid var(--orange);
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 300px;
  width: auto;
  max-width: 90vw;
  display: block;
  object-fit: contain;
}

.header-sm {
  background: #fff;
  border-bottom: 2px solid var(--orange);
  padding: 10px;
  text-align: center;
}

.header-sm .logo-img { height: 60px; }

/* ── BUTTONS ── */
.btn {
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.22s;
  padding: 14px 24px;
}

.btn-orange { background: var(--orange); color: var(--white); width: 100%; }
.btn-orange:hover { background: #d99400; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(240,165,0,0.35); }

.btn-blue { background: var(--blue); color: var(--white); width: 100%; }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  width: 100%;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-map {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  padding: 13px 24px;
  transition: all 0.2s;
}
.btn-map:hover { background: var(--blue); color: white; }

/* ── HOME HERO ── */
.home-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px 0;
  text-align: center;
}

.hero-tagline {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(32px, 7vw, 50px);
  color: var(--blue);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-sub {
  font-family: 'Caveat', cursive;
  font-size: clamp(18px, 4vw, 24px);
  color: var(--orange);
  font-weight: 400;
  line-height: 1.4;
  max-width: 440px;
  margin: 0 auto 30px;
  letter-spacing: 0.02em;
}

/* ── DATE CARDS ── */
.dates-section { width: 100%; max-width: 500px; margin: 0 auto 10px; }

.dates-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
  text-align: center;
}

.date-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s;
  text-align: left;
  user-select: none;
}
.date-card:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(240,165,0,0.15); transform: translateY(-2px); }
.date-card.selected { border-color: var(--orange); background: #fffbf0; box-shadow: 0 4px 18px rgba(240,165,0,0.2); }

.dc-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 3px; }
.dc-date { font-family: 'Caveat', cursive; font-size: 22px; color: var(--blue); font-weight: 600; margin-bottom: 2px; }
.dc-time { font-size: 12px; color: var(--text-light); }
.dc-arrow { font-size: 20px; color: var(--border); transition: all 0.2s; flex-shrink: 0; }
.date-card.selected .dc-arrow { color: var(--orange); transform: translateX(3px); }

/* ── DATE DETAIL PANEL ── */
.date-detail-panel {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
  display: none;
  animation: slideDown 0.3s ease;
}
.date-detail-panel.visible { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.detail-inner {
  background: var(--white);
  border: 1.5px solid var(--orange);
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 12px;
}

.detail-title { font-family: 'Dancing Script', cursive; font-size: 24px; color: var(--blue); margin-bottom: 10px; }
.detail-info { font-size: 13px; color: var(--text-mid); line-height: 1.75; margin-bottom: 14px; }
.detail-info strong { color: var(--text); }

.detail-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }

.chip {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 11px;
  font-size: 12px;
  color: var(--text-mid);
  font-weight: 500;
}
.chip.orange { background: #fffbf0; border-color: var(--orange-light); color: #7a5500; }

.detail-price {
  background: var(--cream);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail-price strong { font-family: 'Caveat', cursive; font-size: 22px; color: var(--blue); }

/* ── HOME BOTTOM ── */
.home-bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 24px 22px; }

/* ── GALLERY ── */
.gallery-section {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border-top: 2px solid var(--orange);
  padding: 12px 0;
}

.gallery-track {
  display: flex;
  gap: 10px;
  padding: 0 10px;
  animation: scrollG 30s linear infinite;
  width: max-content;
}
.gallery-track:hover { animation-play-state: paused; }

@keyframes scrollG {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.gallery-img { width: 180px; height: 180px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }

/* ── FORM WRAPPER ── */
.form-wrap { max-width: 500px; margin: 0 auto; padding: 24px 18px 56px; flex: 1; width: 100%; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 0 20px;
  font-family: 'Nunito', sans-serif;
}

/* ── STEP DOTS ── */
.step-dots { display: flex; align-items: center; margin-bottom: 20px; }
.sdot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: all 0.3s; }
.sdot.active { background: var(--blue); transform: scale(1.3); }
.sdot.done  { background: var(--orange); }
.sline { flex: 1; height: 2px; background: var(--border); }

.form-title { font-family: 'Caveat', cursive; font-size: 28px; color: var(--blue); margin-bottom: 4px; }
.form-sub   { font-size: 13px; color: var(--text-light); margin-bottom: 20px; line-height: 1.6; }

/* ── FIELD ── */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 6px; }
.field input,
.field select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field input:focus,
.field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(74,111,165,0.12); }

/* ── CATEGORY CARD ── */
.cat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 13px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-name  { font-size: 15px; font-weight: 600; }
.cat-price { font-size: 12px; color: var(--text-light); margin-top: 2px; }

.counter { display: flex; align-items: center; gap: 12px; }
.cbtn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-size: 17px;
  color: var(--blue);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
  font-family: 'Nunito', sans-serif;
}
.cbtn:hover { background: var(--blue); color: white; border-color: var(--blue); }
.cval { font-family: 'Caveat', cursive; font-size: 24px; color: var(--blue); min-width: 20px; text-align: center; }

/* ── VAGA WARNING ── */
.vaga-warn {
  background: #fff3e0;
  border: 1px solid #ffe0a0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #7a5500;
  margin-top: -6px;
  margin-bottom: 10px;
  display: none;
}

/* ── GUEST NAMES ── */
.guest-section { margin-top: 20px; }
.guest-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 10px; }
.guest-row { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.guest-tag { font-size: 11px; font-weight: 600; background: var(--orange-light); color: #3A5A8A; padding: 4px 9px; border-radius: 100px; white-space: nowrap; }
.guest-row input {
  flex: 1;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 9px 13px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.guest-row input:focus { border-color: var(--blue); }

/* ── SUMMARY CARD ── */
.card { background: var(--white); border: 1.5px solid var(--border); border-radius: 13px; padding: 18px; margin-bottom: 14px; }
.card-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--cream); }
.sum-row:last-child { border-bottom: none; }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--border); }
.total-label  { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mid); }
.total-amount { font-family: 'Caveat', cursive; font-size: 30px; color: var(--blue); font-weight: 600; }

/* ── PAYMENT ── */
.pay-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.pay-tab {
  flex: 1; padding: 12px; border-radius: 12px; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--text-light); transition: all 0.2s;
}
.pay-tab.active { background: var(--blue); color: white; border-color: var(--blue); }

.pix-box { background: var(--white); border: 1.5px solid var(--border); border-radius: 13px; padding: 24px; text-align: center; }
.pix-qr {
  width: 150px; height: 150px;
  border: 2px dashed var(--border); border-radius: 12px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); background: var(--cream);
}
.pix-key-val { font-family: 'Caveat', cursive; font-size: 19px; color: var(--blue); display: block; margin: 4px 0 12px; font-weight: 600; }
.pix-note    { font-size: 13px; color: var(--text-light); line-height: 1.6; }

.mp-badge {
  background: #fff3e0; border: 1.5px solid #ffe0a0; border-radius: 12px;
  padding: 12px 15px; font-size: 13px; color: #7a5500;
  margin-bottom: 16px; display: flex; align-items: flex-start; gap: 9px; line-height: 1.5;
}

/* ── CONFIRMATION ── */
.conf-wrap { text-align: center; padding: 40px 22px; max-width: 450px; margin: 0 auto; flex: 1; }
.conf-flower { margin: 0 auto 16px; animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1); }

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.conf-title { font-family: 'Dancing Script', cursive; font-size: 36px; color: var(--blue); margin-bottom: 8px; }
.conf-sub   { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-bottom: 22px; }
.conf-row   { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--cream); }
.conf-row:last-child { border-bottom: none; }
.conf-key  { color: var(--text-light); }
.conf-code { font-family: 'Caveat', cursive; font-size: 17px; color: var(--blue); font-weight: 600; }

/* ── MANAGE ── */
.manage-search { display: flex; gap: 9px; }
.manage-search input {
  flex: 1; background: var(--white); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 13px 15px;
  font-family: 'Nunito', sans-serif; font-size: 14px; outline: none;
}
.manage-search input:focus { border-color: var(--blue); }
.sbtn { padding: 13px 14px; background: var(--blue); color: white; border: none; border-radius: 12px; cursor: pointer; font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 600; }

.found-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 13px; padding: 18px; margin-top: 18px; display: none; }
.found-name { font-family: 'Caveat', cursive; font-size: 22px; color: var(--blue); margin-bottom: 4px; }
.divider-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin: 14px 0 10px; }

/* ── ERROR ── */
.error {
  background: #fff0ed; border: 1.5px solid #ffb8a8;
  color: #c0392b; font-size: 13px;
  padding: 11px 15px; border-radius: 10px;
  margin-bottom: 14px; display: none; font-weight: 500;
}

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 22px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--blue); color: white;
  padding: 12px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  transition: transform 0.3s ease; z-index: 999;
  white-space: nowrap; box-shadow: 0 4px 18px rgba(74,111,165,0.4);
  font-family: 'Nunito', sans-serif;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.screen.active .form-wrap,
.screen.active .home-hero,
.screen.active .conf-wrap { animation: fadeUp 0.34s ease; }

/* ── FOOTER ── */
.site-footer {
  text-align: center; padding: 16px;
  font-family: 'Caveat', cursive; font-size: 16px;
  color: var(--blue); border-top: 1px solid var(--border);
}

/* ── RESPONSIVE ── */
@media (max-width: 520px) {
  .hero-tagline  { font-size: 26px; white-space: normal; }
  .hero-sub      { font-size: 17px; }
  .cat-card      { flex-wrap: wrap; gap: 10px; }
  .manage-search { flex-direction: column; }
  .pay-tabs      { flex-direction: column; }
  .logo-img      { height: 200px; }
}

/* ── MP CHECKOUT BOX ── */
.mp-checkout-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}

.mp-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 28px;
  margin-bottom: 10px;
}

.mp-methods-label {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}
