@font-face { font-family: "Cinzel"; src: url("../assets/fonts/cinzel-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #041707;
  --panel: #0a2812;
  --panel-2: #0e3218;
  --line: rgba(211, 183, 113, 0.22);
  --gold: #d3b771;
  --gold-hover: #e2cb8f;
  --text: #efefe4;
  --muted: #a0ae98;
  --on-gold: #041707;

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
a:hover { color: var(--gold-hover); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--on-gold); border-radius: var(--radius-sm); }
.skip:focus { top: 16px; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 26px;
  border: 2px solid var(--gold); border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--on-gold); }
.btn--outline { background: transparent; color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--on-gold); }
.btn--sm { min-height: 40px; padding: 8px 20px; }

/* header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 23, 7, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.04em; }
.brand:hover { color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 28px; }
.nav ul a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav ul a:hover { color: var(--gold); }
.menu-toggle { display: none; }

@media (max-width: 899px) {
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--text);
  }
  .menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after {
    display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s;
  }
  .menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bar::before { top: -7px; }
  .menu-toggle__bar::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .js .nav:not(.is-open) { display: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 12px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .header__inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav { position: static; padding: 8px 0 0; border: 0; width: 100%; }
}

/* hero */
.hero { padding-block: clamp(40px, 7vw, 88px); }
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__kicker { color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.hero__lead { font-size: 1.15rem; color: var(--text); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.hero__facts strong { display: block; color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

/* seções */
.section { padding-block: var(--section); }
.section--alt { background: var(--panel); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 0.95rem; }

.split { display: grid; gap: 40px; align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.split__text .btn { margin-top: 28px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
}

.checklist { display: grid; gap: 10px; margin-top: 20px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 0.55em;
  width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* serviços */
.services { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.service {
  display: flex; flex-direction: column;
  padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s;
}
.service:hover { border-color: var(--gold); transform: translateY(-2px); }
.service p { color: var(--muted); font-size: 0.98rem; }
.service__price { margin: auto 0 0; padding-top: 12px; color: var(--gold) !important; font-family: var(--font-display); font-size: 1.6rem !important; font-weight: 600; }

/* planos */
.plans { display: grid; gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.plan .checklist { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan__price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: var(--gold); margin: 4px 0 8px; }
.plan__price span { font-family: var(--font-body); font-size: 1rem; color: var(--muted); margin-left: 4px; }
.plan--featured { border: 2px solid var(--gold); background: var(--panel-2); }
.plan__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  margin: 0; padding: 4px 14px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-weight: 600; font-size: 0.85rem; white-space: nowrap;
}
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

/* equipe */
.team { display: grid; gap: 24px; max-width: 1100px; margin-inline: auto; }
.member { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.member__body { padding: 24px; }
.member__body h3 { margin-bottom: 4px; font-size: 1.5rem; }
.member__role { color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.member__body p:last-child { color: var(--muted); margin: 0; }
@media (min-width: 700px) { .team { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, 1fr); } }

/* galeria */
/* galeria com fotos e vídeos */
.mg__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.mg__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.mg__filter, .mg__toggle {
  min-height: 44px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font: 600 0.95rem var(--font-body); transition: background-color .2s, color .2s, border-color .2s;
}
.mg__filter { border: 1px solid var(--line); background: transparent; color: var(--text); }
.mg__filter:hover { border-color: var(--gold); }
.mg__filter[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.mg__toggle { margin-left: auto; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; padding-inline: 4px; }
.mg__toggle:hover { color: var(--gold); }
.mg {
  display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: calc((min(100vw, var(--container)) - 2 * var(--gutter) - 10px) / 2); grid-auto-flow: dense;
}
.mg__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--panel); }
.mg__item--video { grid-row: span 2; }
.mg__item--wide { grid-column: span 2; grid-row: span 2; }
.mg__item[hidden] { display: none; }
.mg__link { position: absolute; inset: 0; display: block; color: var(--text); }
.mg__link img, .mg__link video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mg__link:hover img, .mg__link:hover video { transform: scale(1.04); }
.mg__cap {
  position: absolute; inset: auto 0 0 0; padding: 28px 12px 10px; font-size: 0.9rem; font-weight: 600; line-height: 1.3;
  background: linear-gradient(to top, rgba(4, 23, 7, 0.85), transparent);
}
.mg__badge {
  position: absolute; top: 10px; left: 10px; padding: 4px 10px 4px 24px; border-radius: 999px;
  background: rgba(4, 23, 7, 0.75); color: var(--gold); font-size: 0.78rem; font-weight: 600;
}
.mg__badge::before { content: ""; position: absolute; left: 10px; top: 50%; translate: 0 -50%; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--gold); }
.mg__more { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 699px) {
  .mg__bar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; margin-bottom: 16px; }
  .mg__filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  }
  .mg__filters::-webkit-scrollbar { display: none; }
  .mg__filter { flex: none; min-height: 40px; padding: 6px 14px; font-size: 0.9rem; }
  .mg__toggle { align-self: flex-end; min-height: 36px; padding-block: 4px; font-size: 0.9rem; }
  .mg__cap { padding: 24px 10px 8px; font-size: 0.82rem; }
  .mg__badge { top: 8px; left: 8px; }
}
@media (min-width: 700px) {
  .mg { gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: calc((min(100vw, var(--container)) - 2 * var(--gutter) - 42px) / 4); }
}

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 56px 16px 72px; border: 0;
  background: rgba(2, 12, 4, 0.96); color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(2, 12, 4, 0.9); }
.lightbox__media { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.lightbox__media img, .lightbox__media video { max-width: 100%; max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__cap { position: absolute; left: 16px; right: 16px; bottom: 20px; margin: 0; text-align: center; font-weight: 600; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(4, 23, 7, 0.8); color: var(--gold); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox__btn:hover { background: var(--gold); color: var(--on-gold); }
.lightbox__close { top: 12px; right: 12px; font-size: 1.1rem; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
@media (max-width: 699px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; translate: none; } .lightbox__cap { bottom: 64px; } .lightbox { padding-bottom: 120px; } }

/* vídeo do topo */
.hero__media { position: relative; }
.hero__video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--panel); }
.media-pause {
  position: absolute; right: 12px; bottom: 12px; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 999px;
  background: rgba(4, 23, 7, 0.75); color: var(--text); font: 600 0.9rem var(--font-body); cursor: pointer;
}
html:not(.js) .media-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .mg__link:hover img, .mg__link:hover video { transform: none; } }

/* contato */
.contact { display: grid; gap: 40px; align-items: stretch; }
.info { display: grid; gap: 18px; margin: 24px 0 0; }
.info dt { color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.info dd { margin: 0; }
.info a { color: var(--text); }
.info a:hover { color: var(--gold); }
.contact__map { min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 56px; } }

/* rodapé */
.footer { padding-block: 40px 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.footer p { margin: 0; }

/* whatsapp flutuante */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform .2s;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.06); }

/* entrada suave */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
