:root {
  --bg: #ffffff;
  --ink: #1e1e1e;
  --muted: #6b6b6b;
  --brand: #c0392b;        /* vermelho tradição */
  --brand-dark: #8e2c22;
  --gold: #c9a24b;         /* requinte */
  --dark: #1b1b1b;
  --dark-2: #262626;
  --line: #ececec;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-head: "Oswald", "Roboto Slab", Georgia, serif;
  --font-body: "Roboto", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, 92%); margin-inline: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .5px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); text-transform: uppercase; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title .eyebrow { color: var(--gold); font-family: var(--font-head); letter-spacing: 3px; text-transform: uppercase; font-size: .85rem; }
.text-muted { color: var(--muted); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 27, 27, .96);
  backdrop-filter: blur(6px);
  color: #fff;
  border-bottom: 2px solid var(--gold);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .6rem 0; }
.brand img { height: 56px; width: auto; mix-blend-mode: screen; }
.header-cta { display: flex; gap: .6rem; align-items: center; }
.btn-delivery {
  background: #1f9d55; color: #fff; padding: .7rem 1.3rem; border-radius: 40px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: .85rem;
  border: none; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-delivery:hover { background: #178244; transform: translateY(-1px); }
.footer-delivery { color: #fff; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-family: var(--font-head); text-transform: uppercase; font-size: .9rem; letter-spacing: 1px; color: #f2f2f2; padding: .3rem 0; border-bottom: 2px solid transparent; transition: .2s; }
.site-nav a:hover { color: var(--gold); border-color: var(--gold); }
.btn-reserva {
  background: var(--brand); color: #fff; padding: .7rem 1.3rem; border-radius: 40px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; font-size: .85rem;
  border: none; cursor: pointer; transition: .2s; white-space: nowrap;
}
.btn-reserva:hover { background: var(--brand-dark); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; margin-left: auto; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center;
  color: #fff; overflow: hidden; background: #1b1b1b;
  isolation: isolate; /* cria contexto próprio: as camadas -1/-2 ficam contidas no hero */
}
/* Foto de fundo numa camada própria (z-index negativo), com cores realçadas.
   Fica atrás do conteúdo, mas o mix-blend-mode da logo ainda a enxerga. */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-bg, url('/media/visao_frontal.jpg')) center/cover no-repeat;
  filter: saturate(1.5) contrast(1.12) brightness(1.08);
}
/* Overlay escuro mais leve (deixa a cor aparecer, mantém o texto legível) */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(15,15,20,.42), rgba(15,15,20,.58));
}
.hero-inner { max-width: 820px; padding: 2rem; }
/* Logo é arte branca sobre fundo preto — "screen" torna o preto transparente */
.hero .logo { height: 150px; margin: 0 auto 1.2rem; mix-blend-mode: screen; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); text-transform: uppercase; }
.hero .sub { color: var(--gold); font-family: var(--font-head); letter-spacing: 4px; text-transform: uppercase; font-size: clamp(.9rem, 2vw, 1.2rem); }
.hero-cta { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: .9rem 1.8rem; border-radius: 40px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px; transition: .2s; cursor: pointer; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border: 2px solid var(--gold); color: #fff; }
.btn-outline:hover { background: var(--gold); color: #1b1b1b; }

/* ---- Destaques ---- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.feature:hover { transform: translateY(-6px); }
.feature img { height: 180px; object-fit: cover; width: 100%; }
.feature .body { padding: 1.2rem 1.3rem 1.6rem; }
.feature h3 { color: var(--brand); margin-bottom: .3rem; }

/* ---- Sobre ---- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about .lead { font-size: 1.1rem; }
.badge-year { display: inline-block; background: var(--gold); color: #1b1b1b; font-family: var(--font-head); padding: .2rem .8rem; border-radius: 20px; letter-spacing: 1px; }

/* ---- Localização ---- */
.maps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.map-card iframe { width: 100%; height: 300px; border: 0; display: block; }
.map-card .addr { padding: 1rem 1.2rem; font-size: .95rem; }
.map-card .addr strong { color: var(--brand); }

/* ---- Selos ---- */
.awards { display: flex; gap: 2rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.awards .award { text-align: center; max-width: 160px; color: var(--muted); font-size: .85rem; }

/* ---- Galeria ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.gallery-grid img { height: 220px; width: 100%; object-fit: cover; border-radius: 8px; transition: transform .3s; }
.gallery-grid img:hover { transform: scale(1.03); }
/* Imagem de destaque ("ícone" da página) */
.gallery-featured { margin: 0 auto 1.5rem; max-width: 720px; }
.gallery-featured img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.gallery-grid img, .gallery-featured img { cursor: zoom-in; }
.gallery-grid img:focus-visible, .gallery-featured img:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.gallery-intro { text-align: center; max-width: 620px; margin: 0 auto 1rem; color: var(--muted); font-size: 1.05rem; }
.gallery-empty { text-align: center; color: var(--muted); margin: 2.5rem auto; }
.gallery-sub { text-align: center; margin: 3rem 0 1.2rem; font-family: var(--font-head); color: var(--brand); text-transform: uppercase; letter-spacing: 1px; }
.gallery-upload { max-width: 560px; margin: 3rem auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; text-align: center; }
.gallery-upload h3 { color: var(--brand); }
.gallery-upload form { display: grid; gap: .9rem; margin-top: 1.2rem; }
.gallery-upload input[type=text], .gallery-upload input[type=file] { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.gallery-upload .btn { justify-self: center; }
.gallery-msg { min-height: 1.2em; margin: .3rem 0 0; font-size: .95rem; }
.gallery-msg.ok { color: #1e7e34; }
.gallery-msg.err { color: var(--brand); }

.contact-msg { min-height: 1.2em; margin: .3rem 0 0; font-size: .95rem; }
.contact-msg.ok { color: #1e7e34; }
.contact-msg.err { color: var(--brand); }

/* ---- Contato ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-info p { margin: .4rem 0; }
.contact-form { display: grid; gap: 1rem; }
.contact-form input, .contact-form textarea { padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.dark-section { background: var(--dark); color: #fff; }
.dark-section h2, .dark-section h3 { color: #fff; }

/* ---- PDF / embeds ---- */
.pdf-cta { text-align: center; }
.pdf-cta iframe { width: 100%; height: 80vh; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- Footer ---- */
.site-footer { background: var(--dark); color: #d6d6d6; padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-logo { height: 80px; }
.footer-col h4 { color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }
.footer-col a:hover { color: var(--gold); }
.footer-col .hours { color: var(--gold); }
.social { display: flex; flex-direction: column; gap: .3rem; }
.footer-bottom { border-top: 1px solid #333; padding: 1.2rem 0; font-size: .85rem; color: #999; text-align: center; }

/* ---- WhatsApp float ---- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #25d366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ---- Responsivo ---- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; margin-left: 0; width: 100%; }
  body.nav-open .site-nav { display: block; }
  body.nav-open .site-nav ul { flex-direction: column; gap: .2rem; padding: 1rem 0; }
  .header-inner { flex-wrap: wrap; }
  .btn-reserva { display: none; }
  .header-cta { margin-left: auto; }   /* mantém o botão Delivery visível no mobile */
  .about, .maps, .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Lightbox (clique numa foto da galeria para ampliar) ---- */
.lightbox-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 10, .82); display: grid; place-items: center; cursor: zoom-out; animation: lb-fade .15s ease; }
.lightbox-box { margin: 0; position: relative; display: grid; gap: .6rem; justify-items: center; }
.lightbox-box img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); }
.lightbox-box figcaption { color: #eee; font-size: .9rem; text-align: center; max-width: 92vw; }
.lightbox-close { position: absolute; top: .5rem; right: .5rem; width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover, .lightbox-close:focus-visible { background: var(--brand); outline: none; }
@keyframes lb-fade { from { opacity: 0; } }

/* ---- Trabalhe Conosco ---- */
.careers-sub { max-width: 680px; margin: .8rem auto 0; color: var(--muted); }
.careers form { max-width: 860px; margin: 0 auto; display: grid; gap: 1.4rem; }
.careers-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.6rem 1.6rem; margin: 0; }
.careers-card legend { font-family: var(--font-head); color: var(--brand); font-size: 1.15rem; padding: 0 .5rem; text-transform: uppercase; letter-spacing: .5px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.1rem; }
.f-grid label, .f-block { display: grid; gap: .3rem; font-size: .88rem; color: var(--muted); }
.f-block { margin-top: .9rem; }
.f-label { font-size: .88rem; color: var(--muted); display: block; margin-bottom: .4rem; }
.span2 { grid-column: span 2; }
.careers input:not([type=checkbox]):not([type=radio]), .careers select, .careers textarea {
  padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); width: 100%; background: #fff;
}
.careers input:focus-visible, .careers select:focus-visible, .careers textarea:focus-visible { outline: 2px solid var(--gold); }
.careers input.invalid { border-color: var(--brand); background: #fdf3f2; }
.f-err { color: var(--brand); font-size: .8rem; min-height: 1em; }
.chk-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.chk-wrap { margin-bottom: .4rem; }
/* ".careers .chk" na frente: vence a especificidade de ".f-grid label" (display:grid) */
.chk, .careers .chk { display: flex; align-items: center; gap: .45rem; font-size: .92rem; color: var(--ink); cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 auto; }
/* garante que [hidden] esconda mesmo com display definido em outra regra */
.careers [hidden] { display: none !important; }
.lgpd { max-width: 860px; background: #fff8ec; border: 1px solid var(--gold); border-radius: 8px; padding: .9rem 1.1rem; font-size: .9rem; }
.exp-row { border: 1px dashed var(--line); border-radius: 8px; padding: 1rem; margin-bottom: .9rem; }
.exp-del { background: transparent; border: 1px solid var(--brand); color: var(--brand); border-radius: 6px; padding: .35rem .8rem; margin-top: .7rem; font-size: .82rem; cursor: pointer; }
.exp-del:hover { background: var(--brand); color: #fff; }
.btn-outline-dark { border: 2px solid var(--dark); color: var(--dark); background: transparent; }
.btn-outline-dark:hover { background: var(--dark); color: #fff; }
.file-drop { display: block; border: 2px dashed var(--line); border-radius: 10px; padding: 1.6rem; text-align: center; color: var(--muted); cursor: pointer; transition: .2s; }
.file-drop:hover { border-color: var(--gold); color: var(--ink); }
.careers-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.careers-msg { min-height: 1.2em; margin: 0; }
.careers-msg.err { color: var(--brand); font-weight: 600; }
.careers-ok { max-width: 720px; margin: 0 auto; background: #e6f4ea; border: 1px solid #1e7e34; color: #14532d; border-radius: var(--radius); padding: 2rem; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .f-grid { grid-template-columns: 1fr; } .span2 { grid-column: span 1; } }

/* ---- Agende seu Evento ---- */
.ev-banner { position: relative; color: #fff; padding: clamp(64px, 10vw, 120px) 0; text-align: center; background: #1b1b1b; isolation: isolate; }
.ev-banner::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--ev-bg, url('/media/mesa_evento-1024x1024-1.jpg')) center/cover no-repeat; filter: saturate(1.3) contrast(1.08); }
.ev-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(15,15,20,.55), rgba(15,15,20,.7)); }
.ev-banner h1 { font-size: clamp(2rem, 6vw, 3.6rem); text-transform: uppercase; margin: .2em 0; }
.ev-banner p { max-width: 640px; margin: 0 auto 1rem; }
.ev-banner .eyebrow { color: var(--gold); font-family: var(--font-head); letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; }
.dark-ev { background: #faf7f2; }

/* pacotes */
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.pk-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pk-card img { height: 170px; object-fit: cover; width: 100%; }
.pk-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pk-body h3 { color: var(--brand); margin: 0; }
.pk-itens { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.pk-desc { white-space: pre-line; } /* preserva as quebras de linha digitadas na descrição */
.pk-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin: .2rem 0 .6rem; font-size: .95rem; }
.pk-valor { color: var(--brand); font-weight: 700; font-family: var(--font-head); letter-spacing: .5px; }
.pk-body .btn { margin-top: auto; text-align: center; border: none; }
.pk-resumo { background: #fff8ec; border: 1px solid var(--gold); border-radius: 8px; padding: .9rem 1.1rem; font-size: .92rem; }
.pk-resumo ul { margin: .4rem 0 0 1.1rem; padding: 0; }
/* Condições do pacote (exibidas quando o cliente escolhe um pacote) */
.pk-cond { margin-top: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1.1rem; font-size: .88rem; }
.pk-cond strong { color: var(--brand); text-transform: uppercase; letter-spacing: .5px; font-family: var(--font-head); }
.pk-cond ul { margin: .5rem 0 .8rem 1.1rem; padding: 0; color: var(--muted); display: grid; gap: .25rem; }
.pk-alerta { margin: 0; background: #fff200; border: 1px solid #d4c500; border-radius: 6px; padding: .6rem .8rem; font-weight: 700; color: #1b1b1b; }
.pk-alerta span { font-weight: 600; color: #444; }

/* calendário */
.ev-cal-wrap { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 1.6rem; align-items: start; }
.ev-cal { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.ev-cal-head { display: flex; justify-content: space-between; align-items: center; padding: .6rem .8rem; background: var(--dark); color: #fff; }
.ev-cal-head button { background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; padding: 0 .6rem; }
.ev-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: .6rem; }
.cal-dow { text-align: center; font-size: .75rem; color: var(--muted); font-weight: 700; }
.cal-dia { aspect-ratio: 1; border: none; border-radius: 8px; font: inherit; font-size: .88rem; cursor: pointer; display: grid; place-items: center; }
.cal-dia.livre { background: #e6f4ea; color: #14532d; }
.cal-dia.livre:hover { outline: 2px solid #1e7e34; }
.cal-dia.pend { background: #fff3cd; color: #8a6d00; }
.cal-dia.res { background: #fdecea; color: #b02a1e; cursor: not-allowed; }
.cal-dia.bloq { background: #e9e9e9; color: #999; cursor: not-allowed; }
.cal-dia.off { background: transparent; color: #ccc; cursor: default; }
.cal-dia.sel { outline: 3px solid var(--brand); font-weight: 700; }
.ev-legenda { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.ev-legenda .lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.lg-livre { background: #a5d6a7; } .lg-pend { background: #ffe08a; } .lg-res { background: #f2b1aa; } .lg-bloq { background: #cfcfcf; }
.ev-data-info { display: grid; gap: .8rem; align-content: start; }
.ev-data-info label { display: grid; gap: .3rem; font-size: .88rem; color: var(--muted); max-width: 220px; }
@media (max-width: 760px) { .ev-cal-wrap { grid-template-columns: 1fr; } }
.pk-calc { color: var(--brand); font-weight: 700; font-size: .95rem; margin: .1rem 0 .5rem; display: inline-block; }
.pk-qtd { color: #1b1b1b; font-weight: 600; }
.pk-obs { font-size: .85rem; border-top: 1px dashed var(--line); padding-top: .5rem; margin-top: .2rem; }
.pk-parc { color: var(--muted); font-weight: 600; font-size: .88rem; margin-top: -0.4rem; }
