:root {
  --bg: #151513;
  --bg-2: #1e1d1a;
  --bg-3: #26241f;
  --ink: #efefef;
  --ink-2: #c9c5bb;
  --ink-3: #8f8a7e;
  --yellow: #eca71c;
  --yellow-2: #f6c144;
  --brown: #5a3a24;
  --wa: #25d366;
  --wa-ink: #0b2b17;
  --line: rgba(255,255,255,.08);
  --radius: 18px;
  --display: "Caveat Brush", "Rubik", system-ui, sans-serif;
  --body: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --wrap: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--display); font-size: 1.45rem; letter-spacing: .01em;
  margin-right: auto;
}
.nav__brand img { width: 30px; height: auto; }
.nav__links { display: none; gap: 22px; font-weight: 500; color: var(--ink-2); }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--yellow); }
@media (min-width: 720px) { .nav__links { display: flex; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 22px; height: 22px; }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #3ee07b; }
.btn--ghost { border-color: rgba(255,255,255,.28); color: var(--ink); background: rgba(255,255,255,.04); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow-2); }
.btn--sm { padding: 9px 16px; font-size: .92rem; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { padding: 18px 30px; font-size: 1.08rem; width: 100%; }
@media (min-width: 600px) { .btn--lg { width: auto; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - 60px);
  display: grid; place-items: center;
  padding: 48px var(--gutter) 80px;
  text-align: center; overflow: hidden;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__bg img { object-fit: cover; object-position: center 30%; filter: saturate(.85) brightness(.55) blur(2px); transform: scale(1.04); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(21,21,19,.2), rgba(21,21,19,.92) 70%),
    linear-gradient(to bottom, rgba(21,21,19,.55), rgba(21,21,19,.35) 40%, var(--bg) 100%);
}
.hero__inner { display: grid; justify-items: center; gap: 26px; max-width: 720px; }
.hero__logo {
  width: min(78vw, 420px); height: auto;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.6));
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
}
.hero__tagline {
  font-size: clamp(1.15rem, 1rem + 1vw, 1.45rem); color: var(--ink-2); margin: 0;
  max-width: 34ch; text-wrap: balance;
  animation: rise .9s .12s cubic-bezier(.2,.7,.2,1) both;
}
.hero__tagline em { font-style: normal; color: var(--ink); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; animation: rise .9s .22s cubic-bezier(.2,.7,.2,1) both; }
.hero__cta .btn { min-width: 200px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--yellow);
  animation: drop 1.6s ease-in-out infinite;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drop { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } 61% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__logo, .hero__tagline, .hero__cta, .hero__scroll span { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 110px) 0; }
.section--alt { background: var(--bg-2); }
.eyebrow {
  margin: 0 0 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--yellow);
}
.title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.3rem, 1.6rem + 3.5vw, 4rem); letter-spacing: .005em;
  margin-bottom: clamp(22px, 4vw, 40px); max-width: 22ch; text-wrap: balance;
}
.hl { color: var(--yellow); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .16em; z-index: -1;
  background: var(--brown); border-radius: 2px; transform: rotate(-1.2deg); opacity: .9;
}
.lead { color: var(--ink-2); font-size: 1.1rem; max-width: 52ch; margin-top: -8px; }

/* Sobre */
.sobre { display: grid; gap: 36px; }
.sobre__text { font-size: 1.1rem; color: var(--ink-2); max-width: 60ch; }
.sobre__text strong { color: var(--ink); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 18px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(236,167,28,.45); transform: translateY(-2px); }
.card__icon { font-size: 1.7rem; display: block; margin-bottom: 8px; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin-bottom: 6px; color: var(--yellow-2); }
.card p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* Fotos */
.grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 200px;
}
.grid__item {
  margin: 0; padding: 0; border: 0; background: var(--bg-3);
  border-radius: 14px; overflow: hidden; cursor: zoom-in; position: relative;
}
.grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .4s; }
.grid__item:hover img { transform: scale(1.04); filter: brightness(1.06); }
.grid__item--tall { grid-row: span 2; }
@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
  .grid__item--tall { grid-column: span 2; grid-row: span 2; }
  .grid__item:nth-child(4) { grid-column: 3 / span 2; }
}

/* Vídeos */
.reel {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gutter) 20px;
  scrollbar-width: thin; scrollbar-color: var(--brown) transparent;
  -webkit-overflow-scrolling: touch;
}
.reel__item {
  flex: 0 0 min(72vw, 300px); margin: 0; scroll-snap-align: center;
  border-radius: 16px; overflow: hidden; background: #000; border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
}
.reel__item video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1100px) {
  .reel { justify-content: center; }
  .reel__item { flex-basis: 250px; }
}

/* Contato */
.section--contato {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(236,167,28,.12), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.form {
  display: grid; gap: 14px; margin-top: 28px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(18px, 3vw, 30px);
}
.field { display: grid; gap: 6px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.field input {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12); background: var(--bg); color: var(--ink);
  font: 400 1rem var(--body); min-height: 48px;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(236,167,28,.2); }
.form .btn--lg { margin-top: 6px; justify-self: start; }
@media (min-width: 600px) {
  .form { grid-template-columns: 1fr 1fr; }
  .field--wide, .form .btn--lg { grid-column: 1 / -1; }
}
.social { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }
.social__link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--ink-2); font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line);
}
.social__link:hover { color: var(--yellow-2); border-color: rgba(236,167,28,.45); }
.social__link svg { width: 22px; height: 22px; }

/* Footer */
.footer {
  padding: 40px var(--gutter) 46px; text-align: center; color: var(--ink-3); font-size: .9rem;
  border-top: 1px solid var(--line); display: grid; justify-items: center; gap: 10px;
}
.footer img { width: 36px; height: auto; opacity: .9; }
.footer p { margin: 0; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(10,10,9,.92); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(96vw, 900px); max-height: 92vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close {
  position: fixed; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(21,21,19,.7); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
