/* Chácara Vitória — tema rústico (madeira, terracota, dourado e verde) */
:root {
  --wood: #4A2E1E; --wood2: #6B4329; --terra: #C9764B; --terra2: #B5623A; --gold: #F2C14E; --gold2: #E0A92B;
  --green: #3E6B3A; --green2: #2F5530; --cream: #FBF6EE; --sand: #F3E9DA; --ink: #2B1D14; --muted: #7A6656; --line: #E7D8C4;
  --ok: #2E7D32; --warn: #B7791F; --bad: #C0392B; --radius: 18px; --sh: 0 10px 30px rgba(74, 46, 30, .12);
  --head: 'Bree Serif', Georgia, serif; --body: 'Nunito', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.12; margin: 0 0 .4em; }
h2 { font-size: clamp(26px, 4.4vw, 38px); color: var(--wood); }
h3 { font-size: 20px; color: var(--wood); }
p { margin: 0 0 .8em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.loading { padding: 80px 20px; text-align: center; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.i { display: inline-flex; width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.i svg { width: 100%; height: 100%; }

/* topo */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: rgba(74, 46, 30, .96); backdrop-filter: blur(8px); color: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.2); }
.brand img { height: 44px; width: auto; border-radius: 8px; }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: #F7E9D6; }
.topnav a.on, .topnav a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: 800 16px var(--body); padding: 14px 22px; border-radius: 999px; background: var(--terra); color: #fff; box-shadow: 0 8px 20px rgba(201, 118, 75, .35); transition: transform .12s, background .15s; }
.btn:hover { background: var(--terra2); }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--gold); color: var(--wood); box-shadow: 0 8px 20px rgba(242, 193, 78, .35); }
.btn.gold:hover { background: var(--gold2); }
.btn.green { background: var(--green); box-shadow: 0 8px 20px rgba(62, 107, 58, .3); }
.btn.green:hover { background: var(--green2); }
.btn.wa { background: #1FA855; box-shadow: 0 8px 20px rgba(31, 168, 85, .3); }
.btn.wa:hover { background: #178A45; }
.btn.ghost { background: transparent; color: var(--wood); border: 2px solid var(--line); box-shadow: none; }
.btn.ghost.light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn.sm { padding: 9px 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* hero */
.hero { position: relative; color: #fff; min-height: min(86vh, 680px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('/img/gourmet.jpg') center/cover no-repeat; transform: scale(1.04); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,29,20,.25) 0%, rgba(43,29,20,.55) 45%, rgba(43,29,20,.92) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 44px; width: 100%; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: clamp(44px, 9vw, 86px); margin: 10px 0 0; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero .faith { font-family: var(--head); color: var(--gold); font-size: clamp(24px, 4vw, 36px); margin: 2px 0 14px; }
.hero .lead { font-size: clamp(16px, 2.3vw, 19px); max-width: 620px; color: #F7EDE2; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 18px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 13.5px; backdrop-filter: blur(4px); }
.next-free { margin-top: 16px; display: inline-flex; gap: 10px; align-items: center; background: rgba(242,193,78,.16); border: 1px solid rgba(242,193,78,.45); padding: 10px 14px; border-radius: 14px; font-weight: 700; }
.next-free b { color: var(--gold); }

/* seções */
section.sec { padding: 56px 0; }
section.sec.alt { background: var(--sand); }
section.sec.dark { background: var(--wood); color: #F7EDE2; }
section.sec.dark h2, section.sec.dark h3 { color: #fff; }
.sec-head { max-width: 680px; margin-bottom: 26px; }
.sec-head .kicker { color: var(--terra); }
.dark .sec-head .kicker { color: var(--gold); }

/* preços */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--sh); position: relative; }
.price .who { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.price .val { font-family: var(--head); font-size: 40px; color: var(--wood); margin: 6px 0 0; }
.price .val small { font-family: var(--body); font-size: 15px; color: var(--muted); font-weight: 700; }
.price.hl { border: 2px solid var(--gold); }
.price .tag { position: absolute; top: -12px; right: 16px; background: var(--gold); color: var(--wood); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.price.consult .val { font-size: 28px; }
.notes { display: grid; gap: 10px; margin-top: 18px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px dashed var(--line); border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.note .i { color: var(--terra); margin-top: 3px; }
.discount { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg, var(--green), var(--green2)); color: #fff; border-radius: var(--radius); padding: 16px 18px; margin-top: 18px; box-shadow: var(--sh); }
.discount .big { font-family: var(--head); font-size: 34px; color: var(--gold); line-height: 1; }

/* gospel */
.faith-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: center; }
.faith-grid img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.35); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.faith-list { display: grid; gap: 12px; margin: 16px 0 22px; padding: 0; list-style: none; }
.faith-list li { display: flex; gap: 12px; align-items: flex-start; }
.faith-list .i { color: var(--gold); width: 26px; height: 26px; }
.verse { font-family: var(--head); font-size: 19px; color: var(--gold); border-left: 3px solid var(--gold); padding-left: 14px; }

/* estrutura */
.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.feat .ic { width: 46px; height: 46px; border-radius: 14px; background: #FBEBDD; color: var(--terra); display: grid; place-items: center; margin-bottom: 10px; }
.feat .ic .i { width: 26px; height: 26px; }
.feat h3 { font-size: 17px; margin-bottom: 4px; }
.feat p { font-size: 14px; color: var(--muted); margin: 0; }

/* galeria */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); }

/* passos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; counter-reset: s; }
.step { background: #fff; border-radius: 16px; padding: 18px; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--terra); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { margin-top: 8px; font-size: 18px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rules li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 12px 14px; border: 1px solid var(--line); }
.rules .i { color: var(--terra); margin-top: 3px; }

/* rodapé */
footer { background: var(--ink); color: #D9C9B6; padding: 36px 0 90px; }
footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
footer h3 { color: #fff; font-size: 18px; }
footer a { color: var(--gold); }
footer .credit { margin-top: 24px; font-size: 12.5px; opacity: .65; }
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.fab .i { width: 30px; height: 30px; }
.mobile-cta { position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 49; display: none; }

/* reservar */
.page { padding: 26px 0 100px; }
.page h1 { font-size: clamp(30px, 5vw, 44px); color: var(--wood); }
.book-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--sh); }
.card + .card { margin-top: 16px; }
.card h3 { display: flex; align-items: center; gap: 8px; }
.card h3 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--terra); color: #fff; font: 800 14px var(--body); display: grid; place-items: center; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-family: var(--head); font-size: 22px; color: var(--wood); text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; color: var(--wood); }
.cal-nav[disabled] { opacity: .3; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .wd { text-align: center; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.day { position: relative; aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 800 15px var(--body); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; }
.day small { font-size: 9.5px; font-weight: 700; line-height: 1; }
.day.livre { background: #EEF6EA; border-color: #CFE5C7; color: var(--green2); }
.day.livre:hover { background: #DDEFD5; }
.day.wknd.livre { background: #E2F1DA; }
.day.analise { background: #FFF6DE; border-color: #F2DFA4; color: #8A6512; }
.day.reservado, .day.bloqueado { background: #F4EEE7; color: #B9A897; cursor: not-allowed; text-decoration: line-through; }
.day.passado { background: transparent; border-color: transparent; color: #CDBFB0; cursor: default; }
.day.empty { visibility: hidden; }
.day.sel { background: var(--terra) !important; border-color: var(--terra) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(201,118,75,.45); }
.day .hd { position: absolute; top: 4px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold2); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; }
.guests { display: flex; align-items: center; gap: 10px; }
.guests button { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--sand); font-size: 22px; font-weight: 800; color: var(--wood); cursor: pointer; }
.guests input { width: 96px; text-align: center; font: 800 24px var(--body); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chip { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 700 14px var(--body); cursor: pointer; color: var(--ink); }
.chip.on { background: var(--wood); border-color: var(--wood); color: #fff; }
label.f { display: block; font-weight: 800; font-size: 14px; margin: 12px 0 6px; color: var(--wood); }
input, select, textarea { width: 100%; font: 600 16px var(--body); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(201,118,75,.25); border-color: var(--terra); }
textarea { min-height: 84px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin: 14px 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--terra); flex: 0 0 auto; }
.summary { position: sticky; top: 76px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.sum-row:last-child { border-bottom: 0; }
.sum-row b { text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 12px; border-top: 2px solid var(--wood); }
.sum-total b { font-family: var(--head); font-size: 30px; color: var(--wood); }
.good { color: var(--ok); font-weight: 800; }
.alert { border-radius: 14px; padding: 12px 14px; font-size: 14.5px; margin: 10px 0; }
.alert.info { background: #EEF4FB; color: #24476E; }
.alert.warn { background: #FFF6DE; color: #7A5A0E; }
.alert.bad { background: #FDECEA; color: #8E2A20; }
.alert.ok { background: #EAF6EC; color: #1E5E28; }
.empty-sel { text-align: center; color: var(--muted); padding: 22px 8px; }
.empty-sel .i { width: 40px; height: 40px; color: var(--terra); margin: 0 auto 8px; display: block; }

/* reserva (ticket) */
.ticket { max-width: 640px; margin: 0 auto; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.st-pendente { background: #FFF6DE; color: #8A6512; }
.st-confirmada { background: #EEF4FB; color: #24476E; }
.st-sinal_pago, .st-quitada { background: #EAF6EC; color: #1E5E28; }
.st-concluida { background: #EFE7DD; color: var(--wood); }
.st-recusada, .st-cancelada { background: #FDECEA; color: #8E2A20; }
.tl { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 0; }
.tl li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; position: relative; padding-bottom: 16px; }
.tl li::before { content: ''; position: absolute; left: 14px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--muted); font-weight: 800; font-size: 13px; }
.tl li.done .dot { background: var(--green); color: #fff; }
.tl li.now .dot { background: var(--gold); color: var(--wood); box-shadow: 0 0 0 5px rgba(242,193,78,.25); }
.tl b { display: block; }
.tl small { color: var(--muted); }
.pix { background: var(--sand); border-radius: 14px; padding: 14px; }
.pix code { display: block; word-break: break-all; font-size: 12px; background: #fff; border-radius: 10px; padding: 10px; margin: 8px 0; max-height: 90px; overflow: auto; }
.mylist { display: grid; gap: 10px; }
.myitem { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none; }

.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--bad); }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; background: rgba(15,10,7,.92); z-index: 120; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; }
.lightbox img { max-height: 82vh; border-radius: 12px; }
.lightbox p { color: #fff; font-weight: 700; margin-top: 12px; }
.lb-x { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; cursor: pointer; }

@media (max-width: 880px) {
  .faith-grid, .book-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .topnav { display: none; }
  .top .btn.wa { margin-left: auto; }
  .mobile-cta { display: block; }
  .hide-xs { display: none; }
}
@media (max-width: 420px) {
  .cal { gap: 4px; }
  .day { border-radius: 10px; font-size: 14px; }
  .day small { display: none; }
}

/* Botão Instalar app (padrão Nexus) */
.install-btn { margin-left: 8px; background: transparent; border: 2px solid rgba(255,255,255,.55); box-shadow: none; }
.install-btn:hover { background: rgba(255,255,255,.12); }
.install-btn[hidden] { display: none; }
